hash - Aggregating with R - tips -


i have (in r) log of unique keys , time entries in dataset, want extract using hash search corresponding keys (there example session j2i312 , associated timepoints, @ 1 has changed page). when make hashmap, keys aggregated (there no repeating ones), see 1 time entry per bucket. there way see entries , if yes, how? suggest other procedure in case?

many in advance!

df <- data.frame(key=c(1,1,1,2,2,3,3,3,3), time=c(1,2,3,1,3,1,2,3,4)) df_nested <- dplr::group_by(df, key) %>% dplyr::summarise(times=list(time))  df_listed[1,]$times # [1] 1 2 3 

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -