R/blr-plots.R
blr_plot_fitted_leverage.Rd
Fitted values vs leverage plot.
blr_plot_fitted_leverage( model, point_color = "blue", title = "Fitted Values vs Leverage Plot", xaxis_title = "Leverage", yaxis_title = "Fitted Values" )
An object of class glm.
glm
Color of the points.
Title of the plot.
X axis label.
Y axis label.
model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) blr_plot_fitted_leverage(model)