powered by
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.
# NOT RUN { model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) blr_plot_fitted_leverage(model) # }
Run the code above in your browser using DataLab