[R] nls: singular convergeance
Redding, Matthew
Matthew.Redding at deedi.qld.gov.au
Thu Oct 13 10:26:39 CEST 2011
Hi Rolf and others
Will this make any difference to the convergence?
Thanks
Matt
Matt Redding, Ph.D.
Soil chemist/Geochemist
Principal Scientist
Agri-Science Queensland
Ph 0746 881372
Mob 0408 787100
Fax 07 46881192
----- Original Message -----
From: Rolf Turner <rolf.turner at xtra.co.nz>
To: Redding, Matthew
Cc: r-help at r-project.org <r-help at r-project.org>
Sent: Thu Oct 13 18:04:53 2011
Subject: Re: [R] nls: singular convergeance
On 13/10/11 18:02, Redding, Matthew wrote:
> Dear R-experts,
>
> I have 28 data points that I would like to fit with a non linear
> broken-stick -- with three fitted parameters.
> When I view trace -- and use the final values as lines on the graph of
> data -- it looks pretty good.
>
> Q1. Why am I getting singular convergeance?
> Q2. Can you suggest another approach that may prove more satisfying?
<SNIP>
Have you thought of using the "segmented" package instead
of rolling your own with nls?
cheers,
Rolf Turner
We're behind the Bid!
GOLD COAST 2018 - XXI COMMONWEALTH GAMES CANDIDATE CITY
www.goldcoast2018bid.com
********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages
(which includes any attachments) is confidential and may be legally
privileged. It is intended only for the use of the person or entity
to which it is addressed. If you are not the addressee any form of
disclosure, copying, modification, distribution or any action taken
or omitted in reliance on the information is unauthorised. Opinions
contained in the message(s) do not necessarily reflect the opinions
of the Queensland Government and its authorities. If you received
this communication in error, please notify the sender immediately
and delete it from your computer system network.
More information about the R-help
mailing list