# NOT RUN {
data(chamae3)
### wide version
# }
# NOT RUN {
### CRAN policy says examples must take < 5 sec. This doesn't.
foo <- chamae3
### delete fit because it makes no sense in wide version
foo$fit <- NULL
chamae3w <- reshape(foo, direction = "wide", timevar = "varb",
v.names = "resp", varying = list(levels(chamae3$varb)))
# }
Run the code above in your browser using DataLab