getpvalue: Methods for computation of the p-value

Description Usage Arguments Value Author(s) Examples

View source: R/compare-utilities.R

Description

Methods for computation of the p-value

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
getpvalue(obj)

## S3 method for class 'htest'
getpvalue(obj)

## S3 method for class 'lme'
getpvalue(obj)

## S3 method for class 'negbin'
getpvalue(obj)

## S3 method for class 'ScalarIndependenceTest'
getpvalue(obj)

## S3 method for class 'QuadTypeIndependenceTest'
getpvalue(obj)

## S3 method for class 'lm'
getpvalue(obj)

## S3 method for class 'glm'
getpvalue(obj)

Arguments

obj

object, such as htest, lm, negbin ScalarIndependenceTest class.

Value

pvalue.

Author(s)

Shuangbin Xu

Examples

1
2
3
library(nlme)
lmeres <- lme(distance ~ Sex,data=Orthodont)
pvalue <- getpvalue(lmeres)

xiangpin/MicrobitaProcess documentation built on Nov. 23, 2019, 5:18 p.m.