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