Description Usage Arguments Author(s) Examples
Barplots of the aovWux
results displaying the relative
or absolute contribution of the individual factors to the overall variance.
1 2 3 4 5 |
x |
Object of class |
ss.relative |
Boolean. Indicating if the relative contribution of the factors to the
overall variance should be calculated. Default is |
subreg.subset |
Vector of subregions to be plotted
(e.g. |
cex.names |
Expansion factor for numeric axis labels in |
cex.lab |
Expansion factor for axis names (bar labels) in |
legend.text |
String vector of the factors (e.g. |
sd.text |
Boolean. Indicating if the overall standard deviation should be
displayed. Default is |
sd.unit |
Character string of the standard deviation unit with default
|
ylim |
Range vector for the y-axis. |
ylab |
Label for y-axis. |
main |
Main title. |
out.file.directory |
String of the directory where the plots are exported
(e.g. |
out.file.name |
Prefix of the file names of the plots. Files will be stored as
|
copyright |
Boolean. If a copyright message should be plotted. Default is FALSE. |
... |
Further optional arguments passed to |
Georg Heinrich g.heinrich@uni-graz.at
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## load WUX and read WUX test data
require(wux)
data(ensembles)
wuxtest.df <- subset(ensembles, subreg == "GAR")
## unique model acronyms are required for reconstruction
wuxtest.df$acronym <- factor(paste(wuxtest.df$institute, "_",
wuxtest.df$rcm, sep=""))
## reconstruction of the missing data
reconstructLES.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, reconstructLES.df)
## barplot of ANOVA results
## Not run: plot(anova.list, ss.relative = TRUE, las = 1,
sd.unit = "%", legend.text = c("RCM", "GCM", "RES"), mgp = c(2.5,1,0),
main = "ANOVA Barplot", ylim = c(0,110))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.