sitka {gamair} | R Documentation |
Sitka spruce growth data.
Description
Tree growth data under enhanced ozone and control conditions.
Usage
data(sitka)
Format
A data frame with 1027 rows and 5 columns columns:
- id.num
identity of the tree: 1...79.
- order
time order ranking within each tree.
- days
since 1st January, 1988.
- log.size
log of tree ‘size’.
- ozone
1 - enhanced ozone treatment; 0 - control.
Details
The data were analysed in Crainiceanu CM, Ruppert D, Wand MP (2005) using WinBUGS, and in Wood (2016) using auto-generated JAGS code.
Source
The SemiPar
package, from:
Diggle, P.J, Heagery, P., Liang, K.-Y. and Zeger, S.L. (2002) Analysis of Longitudinal Data (2nd ed.) OUP.
References
Wood SN (2016) "Just Another Gibbs Additive Modeller: Interfacing JAGS and mgcv" Journal of Statistical Software 75
Crainiceanu C.M., Ruppert D. and Wand M.P. (2005). "Bayesian Analysis for Penalized Spline Regression Using WinBUGS." Journal of Statistical Software, 14(14).
Examples
require(gamair); require(lattice)
data(sitka)
xyplot(log.size~days|as.factor(ozone),data=sitka,type="l",groups=id.num)