Description Usage Arguments Details Value Author(s) See Also Examples
p.value
is a generic function for extracting p-values of tests.
1 2 3 4 5 6 7 8 9 |
x |
An R object from which to extract p-values. |
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.
A numeric vector of p-value(s)
Long Qu
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.