powered by
Compute descriptive statistics for a variable in the metabolic data set
descriptives(dataset, variable, group = NULL)
the dataset to analyze
character scalar giving the variable name to summarize
character scalar giving an optional grouping variable for the summary
data(ex_data, package = "PAutilities") ex_data$group_var <- rep( c("One", "Two", "Three"), each = ceiling(nrow(ex_data)/3) )[seq(nrow(ex_data))] descriptives(ex_data, "Axis1", "group_var")
Run the code above in your browser using DataLab