granova.1w(yy, group = NULL, dg = 2, h.rng = 1.25, v.rng = 0.2,
box = FALSE, jj = 1, kx = 1, px = 1, size.line = -2.5,
top.dot = 0.15, trmean = FALSE, resid = FALSE, dosqrs = TRUE,
ident = FALSE, pt.lab = NULL, xlab = NULL, ylab = NULL,
main = NULL, ...) Groups need not be of the same sizes, nor do data need to reflect any particular distributional characteristics.
But skewness, outliers, clustering of scores, and various other features of the data can often be readily seen in
this framework. Trimmed means (20%) can also be displayed if desired. Finally, by redisplaying the response data in
two or more versions of the graphic it will often be possible to visualize the effects of transformations. Finally, individual
points can be labeled in the graphic (ident=TRUE).
granova.2w, granova.contr, granova.dslibrary(MASS)
wt.gain <- anorexia[,3] - anorexia[,2]
granova.1w(wt.gain, group = anorexia[,1], size.line = -3)
#
attach(ChickWeight)
CW0 <- subset(ChickWeight, Time==0)[,c(1,4)]
granova.1w(yy = CW0[,1], group = CW0[,2], jj = 2)
#
CW21 <- subset(ChickWeight, Time==21)[,c(1,4)]
granova.1w(yy = CW21[,1], group = CW21[,2])Run the code above in your browser using DataLab