Description Usage Arguments Value Examples
View source: R/perm.for.cutoff.R
Function that permutes the dataset and finds an appropriate cutoff value.
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")
|
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 |
A 95
1 | perm.results <- perm.for.cutoff(permutations = 5, subcut_full)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.