plotResiduals: Residuals' plots for ANOVA models

View source: R/biblioteca.R

plotResidualsR Documentation

Residuals' plots for ANOVA models

Description

This function is only suitable to analyze residuals of ANOVA models. It must not be used to analyze residuals from regression or ANCOVA models.

Usage

plotResiduals(model)

Arguments

model

an object of the class lm or aov.

Value

residual plots suitable for residual analysis of data from design experiments.

Examples

library(planex)
library(tidyverse)
data(saquinhos)
saquinhos <- mutate(saquinhos,
  concentracao = as.factor(concentracao)
)
mod <- aov(resistencia ~ concentracao, data = saquinhos)
plotResiduals(mod)


fndemarqui/planex documentation built on July 9, 2024, 2:13 a.m.