plotResiduals | R Documentation |
This function is only suitable to analyze residuals of ANOVA models. It must not be used to analyze residuals from regression or ANCOVA models.
plotResiduals(model)
model |
an object of the class lm or aov. |
residual plots suitable for residual analysis of data from design experiments.
library(planex)
library(tidyverse)
data(saquinhos)
saquinhos <- mutate(saquinhos,
concentracao = as.factor(concentracao)
)
mod <- aov(resistencia ~ concentracao, data = saquinhos)
plotResiduals(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.