Learn R Programming

gamair (version 1.0-2)

sitka: Sitka spruce growth data.

Description

Tree growth data under enhanced ozone and control conditions.

Usage

data(sitka)

Arguments

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.

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

Run this code
# 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