[R] get the value of a biplane

Rui Barradas ruipbarradas at sapo.pt
Mon May 29 11:58:21 CEST 2017


Hello,

Em 29-05-2017 10:43, Duncan Murdoch escreveu:
>
> On May 28, 2017 1:53:29 PM PDT, Rui Barradas <ruipbarradas at sapo.pt> wrote:
>>  > predict.bs(SCurve, xnew = 40:45)
>> Error in predict.bs(SCurve, xnew = 40:45) :
>>    could not find function "predict.bs"
>
> You should call it using the generic, i.e.
>
> predict(SCurve, xnew = 40:45)

Thanks, I should have tested that. Just did and it (obviously) worked, 
giving the same result as splines:::predict.bs(...).

Rui Barradas
>
>
> On 29/05/2017 2:35 AM, Jeff Newmiller wrote:
>> Looks like it is not exported from the package namespace... a
>> packaging error.
>>
>
> It's not an error to rely on the generic to get to a method.
>
> Duncan Murdoch



More information about the R-help mailing list