Re: [R] lme: object is not a matrix

2013-08-05 Thread Puschner, Bernd
] lme: object is not a matrix Hi, make sure your data is in a data frame: Data - data.frame(t,can2p,code) just specify in which object you find those specific variables by using object$ before each one. I hope this solve the problem. If not, post your script, it's really hard to work

[R] lme: object is not a matrix

2013-08-02 Thread Puschner, Bernd
Dear all, when running in R a simple lme call (3 variables in data set) which works perfectly fine in S-PLUS, I keep getting the error message Error in model.frame.default(formula = ~t + can2p + code, data = list( : object is not a matrix Any help would be very much appreciated.

Re: [R] lme: object is not a matrix

2013-08-02 Thread Bert Gunter
R is not splus. Read ?lme. Bert Sent from my iPhone -- please excuse typos. On Aug 2, 2013, at 5:45 AM, Puschner, Bernd bernd.pusch...@bkh-guenzburg.de wrote: Dear all, when running in R a simple lme call (3 variables in data set) which works perfectly fine in S-PLUS, I keep getting

Re: [R] lme: object is not a matrix

2013-08-02 Thread zelfortin
Hi, make sure your data is in a data frame: Data - data.frame(t,can2p,code) just specify in which object you find those specific variables by using object$ before each one. I hope this solve the problem. If not, post your script, it's really hard to work with only an error message! Cheers