Print utilities for mcexact

Description

Generic print methods for objects of class cab and bab outputted from mcexact.

Usage

1
2
3
4
## S3 method for class 'bab'
print(x,...)
## S3 method for class 'bab'
summary(object,...)

Arguments

x

An object of class bab or cab

object

An object of class bab or cab

...

Unused, retained for generic method consistency

Value

print.bab and print.cab prints the P-value estimates obtained from mcexact. summary.bab and summary.cab prints extra information and returns a matrix of the P-value estimates.

Author(s)

Brian S. Caffo

See Also

mcexact

Examples

1
2
3
4
5
#data(residence)
#resid.mcx <- mcexact(residence$y ~ residence$x, nosim = 10 ^ 2, maxiter = 10 ^ 4)
#resid.mcx #calls print.bab
#print(resid.mcx) #calls print.bab
#summary(resid.mcx) #calls summary.bab