plot.waas: Several types of residual plots

Description Usage Arguments Author(s) Examples

View source: R/waas.R

Description

Residual plots for a output model of class waas. Seven types of plots are produced: (1) Residuals vs fitted, (2) normal Q-Q plot for the residuals, (3) scale-location plot (standardized residuals vs Fitted Values), (4) standardized residuals vs Factor-levels, (5) Histogram of raw residuals and (6) standardized residuals vs observation order, and (7) 1:1 line plot.

Usage

1
2
## S3 method for class 'waas'
plot(x, ...)

Arguments

x

An object of class waas.

...

Additional arguments passed on to the function residual_plots()

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples

1
2
3
4
5
6
7
8
library(metan)
model <- waas(data_ge, ENV, GEN, REP, GY)
plot(model)
plot(model,
     which = c(3, 5),
     nrow = 2,
     labels = TRUE,
     size.lab.out = 4)

metan documentation built on Nov. 10, 2021, 9:11 a.m.