
Tree growth data under enhanced ozone and control conditions.
data(sitka)
A data frame with 1027 rows and 5 columns columns:
identity of the tree: 1...79.
time order ranking within each tree.
since 1st January, 1988.
log of tree `size'.
1 - enhanced ozone treatment; 0 - control.
The data were analysed in Crainiceanu CM, Ruppert D, Wand MP (2005) using WinBUGS, and in Wood (2016) using auto-generated JAGS code.
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).
# NOT RUN {
require(gamair); require(lattice)
data(sitka)
xyplot(log.size~days|as.factor(ozone),data=sitka,type="l",groups=id.num)
# }
Run the code above in your browser using DataLab