| diagnostics_resid_fitted | R Documentation |
Residuals vs Fitted plot
diagnostics_resid_fitted(fit)
fit |
The lm fit object |
A ggplot object
library(volker)
data <- filter(volker::chatgpt, sd_gender != "diverse")
data <- add_model(data, use_work, metric = sd_age)
fit <- attr(data$prd_use_work, "lm.fit")
diagnostics_resid_fitted(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.