llrs / experDesign

Design experiments distributed in several batches
https://experDesign.llrs.dev
Other
10 stars 1 forks source link

Use tapply #3

Closed llrs closed 6 years ago

llrs commented 6 years ago

To subset a dataframe for a group: explanation: tapply(pheno, batch_names(i), sum)

llrs commented 6 years ago

Used in evaluate_num.R and in evaluate_cat.R but not in evaluate.R (where it is more important.

Also use tapply inside apply(pheno, 2, function(x){tapply(x,...

llrs commented 6 years ago

It is fast as is