Re: [R] nlme splines model.frame.default error

2015-06-02 Thread Jacob Wegelin
On 2015-06-02 Tue 14:20, Jacob Wegelin wrote: I want to use a specialized function to compute knots on the fly to pass to splines::bs within a call to nlme::lme. The specialized function will compute knots from the x-axis variable (the x argument in a call to splines::bs). The syntax works w

[R] nlme splines model.frame.default error

2015-06-02 Thread Jacob Wegelin
I want to use a specialized function to compute knots on the fly to pass to splines::bs within a call to nlme::lme. The specialized function will compute knots from the x-axis variable (the x argument in a call to splines::bs). The syntax works with lm. But when I try it with lme, the followin