Description Usage Arguments Value Examples
checkMinRate
returns a logical value after evaluating an object whose existence is greater than a specified amount.
Despite permitting any object class to be passed, only an object
with a class of 'logical'will be evaluated.
1 | checkMinRate(x, min_rate = 0.01)
|
x |
The object to be evaluated. |
min_rate |
The threshold for permissable risk factor found in patient population. Defaults to 1%. |
Returns variables that meet the min_rate criteria.
1 2 3 | data <- data.frame(diab = c(T, T, F, F), obese = c(T, F, T, F), site = c("A", "B", "C", "D"),
bmi = c(16, 18, 20, 22))
checkMinRate(data$diab, min_rate = .45)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.