View source: R/blr-plots-data.R
blr_prep_lorenz_data | R Documentation |
Data for generating Lorenz curve.
blr_prep_lorenz_data(model, data = NULL, test_data = FALSE)
model |
An object of class |
data |
A |
test_data |
Logical; |
model <- glm(honcomp ~ female + read + science, data = hsb2,
family = binomial(link = 'logit'))
data <- model$data
blr_prep_lorenz_data(model, data, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.