Description Usage Arguments Details
View source: R/lipidome_comparison_dataTransformaions.R
'calc_by_replicate' takes a data frame calculates the results of a fuction grouped by a factor
1 | calc_by_replicate(input_df, factor, funct, na_action = na.omit)
|
input_df |
a data frame with at least one factor column |
factor |
a string with the column name to group by |
funct |
a generic R function, that takes only one argument (e.g. mean(), summary(), etc.) |
na_action |
function. Indcates what should happen if there are NA values in the data. c(NULL (default), na.omit). |
Take a data frame and calculate the results of a fuction grouped by a given factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.