Function for performing the parametric bootstrap test for comparing groups as laid out in 'Multilevel-Hybrid Principal Component Analysis' by Campos et. al (20??).

MHPCA_bootstrap_within(MHPCA, B, region, group, nknots, quiet = FALSE)

Arguments

MHPCA

MHPCA output from MHPCA function

B

number of bootstrap samples (scalar)

region

region to consider for hypothesis test (scalar)

group

groups to consider for the hypothesis test (character)

nknots

number of knots for smoothing splines

quiet

print timing messages (logical)