blr_prep_lorenz_data {blorr} | R Documentation |
Lorenz curve data
Description
Data for generating Lorenz curve.
Usage
blr_prep_lorenz_data(model, data = NULL, test_data = FALSE)
Arguments
model |
An object of class |
data |
A |
test_data |
Logical; |
Examples
model <- glm(honcomp ~ female + read + science, data = hsb2,
family = binomial(link = 'logit'))
data <- model$data
blr_prep_lorenz_data(model, data, FALSE)
[Package blorr version 0.3.0 Index]