[R] Non-linear modelling with several variables including a categorical variable

Prof J C Nash (U30A) nashjc at uottawa.ca
Fri Jul 5 15:16:59 CEST 2013


Off list I sent the OP a note that wrapnls() from nlmrt calls nls after
nlxb finishes. This is not, of course, super-efficient, but returns the
nls-structured answer.

JN

On 13-07-05 06:00 AM, r-help-request at r-project.org wrote:
> Message: 49
> Date: Fri, 5 Jul 2013 08:30:39 +0700
> From: Robbie Weterings<robbie.weterings at gmail.com>
> To: "Prof J C Nash (U30A)"<nashjc at uottawa.ca>,r-help at r-project.org
> Subject: Re: [R] Non-linear modelling with several variables including
> 	a categorical variable
> Message-ID:
> 	<CAFe5dHZdXFbFtwKmTE1_QPi1rqNGsd+=82TPrOYfs6mg6zmiCg at mail.gmail.com>
> Content-Type: text/plain
>
> Dear Prof. Nash,
>
> I tried to run nls with the nlxb function and as you mention it is fairly
> slower in terms of running the code. However, if I would have used this
> function earlier I would have saved a lot of time trying to find the start
> values. The output looks a little bit sloppy but I think it is very usefull
> to use in combination with nls.
>
> Thanks
> Robbie



More information about the R-help mailing list