View source: R/mixedcirc_boottest.R
mixedcirc_boottest | R Documentation |
This function performs bootstrap testing on fitted (mixed) circadian models.
mixedcirc_boottest(
object,
nsim,
seed,
parallel = c("no", "multicore", "snow"),
ncpus = getOption("boot.ncpus", 1L),
boot.type = c("perc", "basic", "norm")[1],
conf_level = 0.95,
abs_phase = TRUE,
...
)
object |
A fitted model object of class |
nsim |
Number of bootstrap simulations. |
seed |
seed for reproducibitly |
parallel |
The type of parallel processing to use ( |
ncpus |
Number of CPU cores to use for parallel processing. |
boot.type |
Type of bootstrap confidence interval ( |
conf_level |
Confidence level for the bootstrap intervals. |
abs_phase |
Logical; if |
... |
Additional arguments passed to |
A mixedcirc_boot
object containing:
results
: A data frame with bootstrap statistics.
metadata
: Metadata about the bootstrap procedure.
original_model
: The original fitted model object.
## Not run:
# Example usage
result <- mixedcirc_boottest(fitted_model, nsim = 1000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.