| update.cab {exactLoglinTest} | R Documentation |
An update method for objects created by mcexact when
method = 'cab'.
## S3 method for class 'cab':
update(object, ...)
cab(args,
nosim = NULL,
batchsize = NULL,
savechain = FALSE,
p = NULL,
flush = FALSE)
object |
Output from mcexact |
... |
Alternative arguments for the update |
args |
Output from mcexact |
nosim |
The number of simulations to be performed in the update |
batchsize |
A new batchsize |
savechain |
Saves the chain of goodness-of-fit statistics |
p |
An updated proportion of simulated tables left fixed. |
flush |
Should the previous information be discarded?
flush should be set to true if the batchsize is changed. |
The method update.cab calls the function cab, which is the
engine for mcexact when method = 'cab'.
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,
method = "cab",
p = .5,
batchsize = 100)
summary(mcx)
mcx <- update(mcx, nosim = 10 ^ 4)
summary(mcx)