aovWux: Missing value reconstruction based on ANOVA

Description Usage Arguments Value Author(s) Examples

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)

wux documentation built on May 2, 2019, 4:03 p.m.