Learn R Programming

specmine (version 1.0)

multifactor_aov_pvalues_table: Multifactor ANOVA p-values table

Description

Gets the p-values table from the multifactor ANOVA results.

Usage

multifactor_aov_pvalues_table(multifactor.aov.results, write.file = F, file.out = "multi-anova-pvalues.csv")

Arguments

multifactor.aov.results
multifactor anova results.
write.file
boolean value to indicate if a file is written.
file.out
name of the file.

Value

Returns a data.frame with the p-values.

Examples

Run this code
  ## Example of multifactor ANOVA p-values table
  data(propolis)
  propolis = missingvalues_imputation(propolis, "value", value = 0.00005)
  m.aov.results = multifactor_aov_all_vars(propolis, 
		  c("seasons","agroregions"), "seasons*agroregions")
  m.aov.pvalues = multifactor_aov_pvalues_table(m.aov.results)

Run the code above in your browser using DataLab