graph.curve {agce} | R Documentation |
Estimate the growth curve for each group. All curves are graphed on the same figure.
graph.curve(data, time, legend=TRUE)
data |
The data matrix or data frame, where the first column correspond to the group ids, the second to the animal ids, the remaining columns are the measurements at each time. |
time |
A vector of numeric values corresponding to the time points at which the measurements were effectued. |
legend |
A logical value, if TRUE legends using the group ids, are added to the graph. |
The graph added to the current plotting device.
Raphael Gottardo
data(Bt20) graph.curve(Bt20, c(0,3,7,10,14,16), legend=TRUE)