View source: R/diff-analysis-utilities.R
get_pvalue | R Documentation |
Methods for computation of the p-value
get_pvalue(obj)
## S3 method for class 'htest'
get_pvalue(obj)
## S3 method for class 'lme'
get_pvalue(obj)
## S3 method for class 'negbin'
get_pvalue(obj)
## S3 method for class 'ScalarIndependenceTest'
get_pvalue(obj)
## S3 method for class 'QuadTypeIndependenceTest'
get_pvalue(obj)
## S3 method for class 'lm'
get_pvalue(obj)
## S3 method for class 'glm'
get_pvalue(obj)
obj |
object, such as htest, lm, negbin ScalarIndependenceTest class. |
pvalue.
Shuangbin Xu
library(nlme)
lmeres <- lme(distance ~ Sex,data=Orthodont)
pvalue <- get_pvalue(lmeres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.