Description Usage Arguments Details Value Examples
Creates a ggplot geom that can be extended and accept other ggplot layers. Shows residual error from the regression mean for different types of regression models.
1 | ggerror(model)
|
model |
Model to be analyzed. The function will detect what type of family the model is (e.g. linear = "gaussian", logistic = "binomial") and plot the appropriate type of model. |
Generate residuals for models. Currently accepts only linear models. Does not account for covariates yet, although may be able to do this in the future.
Returns a ggplot object of geom type, other layers can be added on as seen in example.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.