update.bab: Update method for objects of class bab

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

Description

An update method for objects created by mcexact when method = 'bab'.

Usage

1
2
3
## S3 method for class 'bab'
update(object, ...)
bab(args, nosim = NULL, maxiter = NULL, savechain = FALSE)

Arguments

object

Output from mcexact

...

Alternative arguments for the update

args

Output from mcexact

nosim

The desired number of simulations to be performed in the update

maxiter

The maximum number of iterations allowed.

savechain

Saves the chain of goodness-of-fit statistics and their importance weights

Details

The method update.bab calls the function bab, which is the engine for mcexact when method = 'bab'.

Value

A list of the form outputted from mcexact

Author(s)

Brian S. Caffo

See Also

mcexact

Examples

1
2
3
4
5
data(residence.dat)
mcx <- mcexact(y ~ res.1985 + res.1980 + factor(sym.pair), data = residence.dat) 
summary(mcx)
mcx <- update(mcx, nosim = 10 ^ 4, maxiter = 10 ^ 6)
summary(mcx)


Search within the exactLoglinTest 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.