| plant | R Documentation |
The plant data frame has 103 rows and 3 columns.
data(plant)
A data frame with 103 observations on the following 3 variables:
ymeasurements of the plant organ.
timetimes where measurements took place.
groupthree attributes of the plant organ, RKV, RKW, RWC.
Three attributes of a plant organ measured over time where biological reasoning indicates likelihood of multiple breakpoints. The data are scaled to the maximum value for each attribute and all attributes are measured at each time.
The data have been kindly provided by Dr Zongjian Yang at School of Land, Crop and Food Sciences, The University of Queensland, Brisbane, Australia.
## Not run:
data(plant)
lattice::xyplot(y~time,groups=group,auto.key=list(space="right"), data=plant)
o<-segreg(y~ 0+group+seg(time, by=group, npsi=2), data=plant)
summary(o)
par(mfrow=c(1,2))
plot(y~time, data=plant)
plot(o, term=1:3, add=TRUE, leg=NA, psi.lines=TRUE) #add the lines to the current plot
plot(o, term=1:3, col=3:5, res.col=3:5, res=TRUE, leg="bottomright")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.