Do parametric bootsrap using a tarmME model
# S3 method for tramME
parboot(
object,
statistic,
nsim = 1,
conditional = FALSE,
seed = NULL,
...,
simplify = TRUE,
parallel = c("no", "multicore", "snow"),
ncpus = getOption("profile.ncpus", 1L)
)A tramME object.
A function that calculates the statistic of interest.
Number of draws.
Logical, if TRUE, the resampling is conditional on the
fitted vector of random effects.
optional seed for the random number generator
Optional arguments passed to statistic.
logical or character string; should the result be
simplified to a vector, matrix or higher dimensional array if
possible? For sapply it must be named and not abbreviated.
The default value, TRUE, returns a vector or matrix if appropriate,
whereas if simplify = "array" the result may be an
array of “rank”
(\(=\)length(dim(.))) one higher than the result
of FUN(X[[i]]).
Method for parallel computation.
Number of cores to use for parallel computation.
A list/vector/array (whichever is consistent with simplify) of bootstrapped
values returned by statistic.