varcomp: Variance Components

Description Usage Arguments Value Author(s) References Examples

View source: R/varcomp.R

Description

This function estimates the variance components for ANOVA.

Usage

1
varcomp(a1, a2, f1, f2)

Arguments

a1, a2

analytical duplicates

f1, f2

field duplicates

Value

pct.regional

percentage of regional variability

pct.site

percentage at site variability

pct.analytical

percentage of analytical variability

pval

p-value

Author(s)

Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/

References

C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# field duplicates:
data(CHorFieldDUP)
xfield1=CHorFieldDUP[,5:98]
xfield2=CHorFieldDUP[,99:192]

# anaytical duplicates:
data(CHorANADUP)
xanal1=CHorANADUP[,3:96]
xanal2=CHorANADUP[,97:190]

varcomp(xanal1[,1],xanal2[,1],xfield1[,1],xfield2[,1])

StatDA documentation built on March 13, 2020, 2:42 a.m.

Related to varcomp in StatDA...