Description Usage Arguments Examples
View source: R/bivariate_table.R
Calculate bivariate table from a vector and a response variable
1 | bivariate_table(x, target, add.prop.test = TRUE, conf.level = 0.95)
|
x |
A variable. |
target |
A binary variable same length as |
add.prop.test |
Boolean to add or not the |
conf.level |
Confidence level of the returned confidence interval. |
1 2 3 4 5 6 7 8 9 | data(german_credit)
bivariate_table(german_credit$purpose, german_credit$good_bad)
x <- cut(german_credit$duration_in_month, c(0, 6, 12, 24, 36, Inf))
target <- german_credit$good_bad
bivariate_table(x, target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.