plyr is an R package with tools to solve a variety of problems using the split-apply-combine strategy
I would like to select a row with maximum value in each group with dplyr. Firstly I generate some random …
r dplyr plyr greatest-n-per-groupI have a dataframe in R of the following form: > head(data) Group Score Info 1 1 1 a 2 1 2 b 3 1 3 c 4 2 4 d 5 2 3 …
r aggregate plyr greatest-n-per-groupI have a list of named values: myList <- list('A' = 1, 'B' = 2, 'C' = 3) I want a vector with the …
r list plyrWhen working with plyr I often found it useful to use adply for scalar functions that I have to apply …
r plyr dplyrI have a data frame that looks like this: #df ID DRUG FED AUC0t Tmax Cmax 1 1 0 100 5 20 2 1 1 200 6 25 3 0 1 NA 2 30 4 0 0 150 6 65 Ans so …
r plyr dplyr shadowing name-collisionI have a data.table: set.seed(1) data <- data.table(time = c(1:3, 1:4), groups = c(rep(c("b", "a"), …
r data.table plyr dplyrI have a data frame with about 200 columns, out of them I want to group the table by first 10 or …
r grouping aggregate plyr data.table