zGPS_bootstrap: Perform bootstrap to evaluate accuracy of zGPS analysis.

Description Usage Arguments Value

View source: R/zGPS_bootstrap.R

Description

Perform bootstrap to evaluate accuracy of zGPS analysis.

Usage

1
zGPS_bootstrap(zGPS_result, n_perm = 20, n_cores = round(detectCores()/2))

Arguments

zGPS_result

the zgps model result

n_perm

a positive integer that decide the number of bootstrap samples to determine the p value for observed RRs.

n_cores

number of cores

Value

An object of S3 class zGPS. It contain the bootstrap results and the calculated q values.


umich-biostatistics/zGPS.AO documentation built on Sept. 26, 2021, 5:21 p.m.