[R-sig-ME] update groupedData
Martin Henry H. Stevens
HStevens at muohio.edu
Sun Jun 1 14:42:25 CEST 2008
Hi folks,
I am using nlme 3.1-88
I am trying to update a groupedData object (the Oats data set), and
change the formula and the order of the groups.
However, my code (below) fails to reorder the data.
tmp <- subset(Oats, nitro==0)
Controls <- update(Oats, yield~1|Block, data=tmp, FUN=mean)
dotplot(Block ~ yield, data=Controls, type=c('p', 'l') )
Any thoughts are appreciated.
Hank
Dr. Hank Stevens, Associate Professor
338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056
Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243
http://www.cas.muohio.edu/~stevenmh/
http://www.users.muohio.edu/harkesae/
http://www.cas.muohio.edu/ecology
http://www.muohio.edu/botany/
"E Pluribus Unum"
"I love deadlines. I love the whooshing noise they make as they go by."
(Douglas Adams)
If you send an attachment, please try to send it in a format anyone
can read, such as PDF, text, Open Document Format, HTML, or RTF.
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
More information about the R-sig-mixed-models
mailing list