graphics function

Regression model plots

Regression model plots

graphics Plots from regression models fitted in ANOVA.

graphics( a, degree = 1, mod = TRUE, main = " ", sub = " ", xlab = "Levels (X)", ylab = "Response var (Y)", pch = 19, xlim = NULL, ylim = NULL, bty = "o" )

Arguments

  • a: Output from anova (performed in ExpDes).
  • degree: For polynomial models, 1 (linear model) is the default, 2 (quadratic model), 3 (cubic model), "pot" (Power model), "log" (Logistic model), "gom" (Gompertz model) and "exp" (Exponential model).
  • mod: Logic. Print the model expression and its R2 on the top of the graphic. The default is TRUE.
  • main: Title of the plot. Empty is the default.
  • sub: Subtitle of the plot. Empty is the default.
  • xlab: Name for axis X.
  • ylab: Name for axis Y.
  • pch: Caracter type to be used on the observed values.
  • xlim: Limits for axis X.
  • ylim: Limits for axis Y.
  • bty: Type of box the plot is fitted in.

Examples

data(ex1) attach(ex1) a<-crd(trat, ig, quali=FALSE, nl=FALSE) graphics(a, degree=1) graphics(a, degree=2) graphics(a, degree=3)

References

STEEL, R. G. D.; TORRIE, J. H. Principles and procedures in Statistics: a biometrical approach. McGraw-Hill, New York, NY. 1980.

See Also

reg.poly, plotres.

Author(s)

Eric B Ferreira, eric.ferreira@unifal-mg.edu.br

  • Maintainer: Eric Batista Ferreira
  • License: GPL (>= 2)
  • Last published: 2021-10-05

Useful links