multifactor_aov_all_vars: Multifactor ANOVA

Description Usage Arguments Value Examples

Description

Perform multi-factor ANOVA on all variables with the selected metadata variables.

Usage

1
multifactor_aov_all_vars(dataset, metadata.vars, combination)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

metadata.vars

metadata variables to use in ANOVA.

combination

a formula specifying the model.

Value

List where each element is the multifactor anova result of a variable on the dataset.

Examples

1
2
3
4
5
6
  ## Example of multifactor ANOVA on all variables 
  library(specmine.datasets)
  data(propolis)
  propolis = missingvalues_imputation(propolis, "value", value = 0.00005)
  m.aov.results = multifactor_aov_all_vars(propolis, 
		  c("seasons","agroregions"), "seasons*agroregions")

specmine documentation built on Sept. 21, 2021, 5:06 p.m.