Description Usage Arguments Examples
This function will create a graph that compares the levels of a single categorical predictor variable against 3 different categorical response variables. The x axis will be the categorical variable. The y axis will the proportion of each level of the predictor variable that displays the response variable.
1 |
df |
, df, a data frame with at least 4 categorical columns |
x1 |
, x, index of a binary (0,1) column in the data frame to use as the predictor variable |
y1 |
, y1, index of a binary (0,1) column in the data frame to use as the first response variable |
y2 |
, y2, index of a binary (0,1) column in the data frame to use as the second response variable |
y3 |
, y3, index of a binary (0,1) column in the data frame to use as the third response variable |
1 2 | dataframe <- rotateS21::covidWrangled
profiles(dataframe, 3, 17, 18, 19)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.