Compute \(\psi\) = two-sided probability with a given block size.

bootLongPsi(ps, main_factor = main_factor, time_var = time_var,
  subjectID_var = subjectID_var, sampleID_var = sampleID_var, b, R, RR,
  T.obs.full = NULL, ncores, compStatParallel = FALSE)

Arguments

ps

phyloseq object.

main_factor

Character string. The name of the covariate variable.

time_var

Character string. The name of the time variable.

subjectID_var

Character string. The name of the subject ID variable.

sampleID_var

Character string. The name of the sample ID variable.

b

A numeric. The block size to account for the dependence within-subject.

R

A numeric. The number of block bootstrap realizations.

RR

A numeric. The number of double block bootstrap realizations.

T.obs.full

A numeric vector. The numeric vector of observed statistic.

ncores

A numeric. The number of cores to use in mclapply.

compStatParallel

A logical. True is used to use parallel in computeStat and disable parallel in bootLongPsi or bootLongMethod.

Value

A list with the first element K.val - two-sided significance probability and the second element observed test statistic.