bootLongIndices: bootLongIndices

Description Usage Arguments Value

View source: R/bootLongIndices.R

Description

This function is called within bootLongPhyloseq for each subject's data frame.

Usage

1
bootLongIndices(x, time_var, b, L, blks.first.index)

Arguments

x

A dataframe. It must have Index column that will be added by bootLongPhyloseq.

time_var

Character string. The name of the time variable.

b

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

L

A numeric. Number of overlapping blocks per subject that will be added by bootLongPhyloseq.

blks.first.index

A vector of positive integer. This will be added by bootLongPhyloseq (same for all subjects.)

Value

A list of indices to include in the block bootstrap realization.


PratheepaJ/bootLong documentation built on April 5, 2020, 2:19 p.m.