perm.for.cutoff: Function that permutes the dataset and finds an appropriate...

Description Usage Arguments Value Examples

View source: R/perm.for.cutoff.R

Description

Function that permutes the dataset and finds an appropriate cutoff value.

Usage

1
2
perm.for.cutoff(permutations = 100, lm_full,
  to_correct = "+ as.factor(covariates$SEX) + as.numeric(covariates$AGE)+ as.numeric(covariates$RACE) + covariates$PC1 + covariates$PC2 +covariates$PC3+ covariates$PC4 + covariates$PC5 + covariates$PC6 + covariates$PC7 + covariates$PC8 + covariates$PC9 + covariates$PC10")

Arguments

permutations

The number of times you want to permute the data

lm_full

The dataset you want to test

to_correct

Covariates to correct for

Value

A 95

Examples

1
perm.results <- perm.for.cutoff(permutations = 5, subcut_full)

syyang93/analyzeR documentation built on Aug. 26, 2020, 4:34 p.m.