Displaying 1 result from an estimated 1 matches for "bt03".
Did you mean:
b03
2007 Sep 12
1
reshape help
Hi,
I'm trying to use reshape but I cannot quite understand how it works.
Could somebody help me on this? Example, my data is something like:
mydat <- data.frame(tree= 1:10, serra=rep(1:2, c(5,5)), bt01= 101:110,
bt02= 201:210, bt03= 301:310, mm01= 9101:9110, mm02= 9201:9210, mm03=
9301:9310)
> mydat
tree serra bt01 bt02 bt03 mm01 mm02 mm03
1 1 1 101 201 301 9101 9201 9301
2 2 1 102 202 302 9102 9202 9302
3 3 1 103 203 303 9103 9203 9303
4 4 1 104 204 304 9104 9204...