View source: R/lmwBootstrapTests.R
lmwBootstrapTests | R Documentation |
Tests the significance of the effects from the model using bootstrap. This function is based on the outputs of lmwEffectMatrices
. Tests on combined effects are also provided.
lmwBootstrapTests( resLmwEffectMatrices, nboot = 100, nCores = 2, verbose = FALSE )
resLmwEffectMatrices |
A list of 12 from |
nboot |
An integer with the number of iterations to perform. |
nCores |
The number of cores to use for parallel execution. |
verbose |
If |
A list with the following elements:
f.obs
A vector of size F with the F statistics calculated on the initial data for each model term.
f.boot
A b × F matrix with the F statistics calculated for the bootstrap samples.
p.values
A vector of size F with the p-value for each model effect.
resultsTable
A 2 × F matrix with the p-value and the variance percentage for each model effect.
Thiel M.,Feraud B. and Govaerts B. (2017) ASCA+ and APCA+: Extensions of ASCA and APCA in the analysis of unbalanced multifactorial designs, Journal of Chemometrics
data('UCH') resLmwModelMatrix <- lmwModelMatrix(UCH) resLmwEffectMatrices <- lmwEffectMatrices(resLmwModelMatrix = resLmwModelMatrix) res <- lmwBootstrapTests(resLmwEffectMatrices = resLmwEffectMatrices, nboot=10, nCores=2, verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.