plyr
How to better create stacked bar graphs with multiple variables from ggplot2?
I often have to make stacked barplots to compare variables, and because I do all my stats in R, I prefer to do all my graphics in R with ggplot2. I would like to learn how to do two things:[详细]
2022-12-25 22:20 分类:问答doing a plyr operation on every row of a data frame in R
I like the plyr syntax. Any time I have to use one of the *apply() commands I end up kicking the dog and going on a 3 day bender. So for the sake of my dog and my liver, what\'s concise syntax for doi[详细]
2022-12-17 01:06 分类:问答Can I do margin calculations in ddply()?
The cast() function is great at calculating margins for aggregate values: cast(df, IDx1+IDx2~IDy1, margins=c(\'IDx1\',\'IDx2\',\'grand_row\'),c(min, mean, max))[详细]
2022-12-16 00:06 分类:问答multiple transform on df with plyr
I have a df and I want to do multiple transform on it with plyr: idplot / idtree / species /condition / dbh_cm / h_m /开发者_Go百科 hblc_m[详细]
2022-12-13 08:39 分类:问答from absolute numbers to proportion in two level data (R! SAC? plyr?)
I have data nested in to levels: L1 L2x1 x2 x3 x4 AThis 20 14 12 15 AThat 11 NA 816 ABatNa 22 139 BThis 109 116[详细]
2022-12-13 06:40 分类:问答