Re: [Rd] making makepredictcall() work

2013-05-21 Thread Prof Brian Ripley
On 21/05/2013 12:19, D. Rizopoulos wrote: Dear All, I'm interested in creating a function similar to ns() from package splines that can be passed in a model formula. The idea is to produce "safe" predictions from a model using this function. As I have seen, to do this I need to use makepredictca

[Rd] making makepredictcall() work

2013-05-21 Thread D. Rizopoulos
Dear All, I'm interested in creating a function similar to ns() from package splines that can be passed in a model formula. The idea is to produce "safe" predictions from a model using this function. As I have seen, to do this I need to use makepredictcall(). Consider the following toy example: