group.plots {qrNLMM} | R Documentation |
Plot function for grouped data
Description
Functions for plotting a profiles plot for grouped data.
Usage
group.plot(x,y,groups,...)
group.lines(x,y,groups,...)
group.points(x,y,groups,...)
Arguments
y |
the response vector of dimension |
x |
vector of longitudinal (repeated measures) covariate of dimension |
groups |
factor of dimension |
... |
Author(s)
Christian E. Galarza <chedgala@espol.edu.ec> and Victor H. Lachos <hlachos@uconn.edu>
See Also
Examples
## Not run:
#A full profile plot for Soybean data
data(Soybean)
attach(Soybean)
group.plot(x = Time,y = weight,groups = Plot,type="b",
main="Soybean profiles",xlab="time (days)",
ylab="mean leaf weight (gr)")
#Profile plot by genotype
group.plot(x = Time[Variety=="P"],y = weight[Variety=="P"],
groups = Plot[Variety=="P"],type="l",col="blue",
main="Soybean profiles by genotype",xlab="time (days)",
ylab="mean leaf weight (gr)")
group.lines(x = Time[Variety=="F"],y = weight[Variety=="F"],
groups = Plot[Variety=="F"],col="black")
## End(Not run)
[Package qrNLMM version 3.4 Index]