update.bab {exactLoglinTest} | R Documentation |
An update method for objects created by mcexact
when
method = 'bab'
.
## S3 method for class 'bab': update(object, ...) bab(args, nosim = NULL, maxiter = NULL, savechain = FALSE)
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 |
The method update.bab
calls the function bab
, which is the
engine for mcexact
when method = 'bab'
.
A list of the form outputted from mcexact
Brian S. Caffo
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)