Missing value reconstruction based on ANOVA

Share:

Description

Calculates an analysis of variance (ANOVA) based on the specified model.

Usage

1
aovWux(model.formula = formula(model.formula), datain.df)

Arguments

model.formula

Model formula used for aov.

datain.df

WUX dataframe obtained from models2wux.

Value

Returns a object of class wux.aov, a list containing the ANOVA results for each subregion and season. The names of the list entries are "subreg = xx;season = yy".

Author(s)

Georg Heinrich g.heinrich@uni-graz.at

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## read WUX test data
library("wux")
data(ensembles)

wuxtest.df <- subset(ensembles, subreg == "GAR")

## data reconstruction to obtain a balanced design
reconstruct.df <- reconstruct(wuxtest.df,
  factor1.name = "acronym", factor2.name = "gcm", data.name =
  "perc.delta.precipitation_amount")

## calculate ANOVA
anova.list <- aovWux(perc.delta.precipitation_amount ~ acronym +
  gcm, reconstruct.df)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.