Description Usage Arguments Value Examples
profile the numeric variable by segment, used for segment profiling
1 | util.profile.cat(data, x, segment = "segment", alpha = 0.8)
|
data |
input data.frame |
x |
char, categorical variable name |
segment |
variable name of the segment |
alpha |
float density plot transparency |
list(data, plot)
1 2 3 | res <- util.profile.cat(mtcars, x = 'am', segment = 'gear')
res$data
res$plot
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.