p.value.varComp.test: Extracting p-values

Description Usage Arguments Details Value Author(s) See Also Examples

Description

p.value is a generic function for extracting p-values of tests.

Usage

1
2
3
4
5
6
7
8
9
p.value(x)
## Default S3 method:
p.value(x)
## S3 method for class 'htest'
p.value(x)
## S3 method for class 'varComp.test'
p.value(x)
## S3 method for class 'varCompFixEf'
p.value(x)

Arguments

x

An R object from which to extract p-values.

Details

By default, p.value extract the $p.value component from an htest object.

The p.value.varComp.test function extracts p-values from all tests in the object. The p.value.varCompFixEf function extracts individual p-values of tests of fixed effect with the overall p-value as the Overall attribute.

Value

A numeric vector of p-value(s)

Author(s)

Long Qu

See Also

varComp.test

Examples

1
2
3
4
5
6
library(nlme)
data(Oxide)
vcf = varComp(Thickness~Source, Oxide, ~Lot/Wafer)
coef(vcf, 'varComp')
p.value(varComp.test(vcf))  ## test both Lot and Wafer%in%Lot
p.value(varComp.test(vcf, null=1))  ## test Wafer%in%Lot


Search within the varComp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.