Learn R Programming

specmine (version 3.1.6)

multifactor_aov_varexp_table: Multifactor ANOVA variability explained table

Description

Gets the variability explained table from the multifactor ANOVA results.

Usage

multifactor_aov_varexp_table(multifactor.aov.results, 
write.file = FALSE, file.out = "multi-anova-varexp.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 variability explained.

Examples

Run this code
# NOT RUN {
  ## Example of multifactor ANOVA variability explained table
  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")
  m.aov.varepx = multifactor_aov_varexp_table(m.aov.results)
# }

Run the code above in your browser using DataLab