categorical_cutoff: Categorical cutoff Determines the opital cutoff for groups...

Description Usage Arguments Examples

View source: R/cutoffs.R

Description

Categorical cutoff Determines the opital cutoff for groups with numerical data according to a chisquared statistics

Usage

1
categorical_cutoff(markers, values, strata, sig = 0.05, minN = 5, ...)

Arguments

values

the values of the markers

strata

the grouping

sig

significance level (Default = 0.05)

minN

minimun number per group (Default = 5)

makers

the different markers to be analyses

Examples

1
2
3
4
markers <- sample(letters[1:3], 100, replace = T)
values <- c(rnorm(50), rnorm(50, mean = 3))
strata <- c(rep("A", 50), rep("B", 50))
categorical_cutoff(markers, values, strata)

joelgsponer/waRRior2 documentation built on Feb. 22, 2020, 3:34 a.m.