[R] NLS Question

Redding, Matthew ReddinM at prose.dpi.qld.gov.au
Fri Oct 20 01:48:19 CEST 2000

Hi list members,
I'm (gradually) coming up to speed on  using R.  SO far I am very much
enjoying the learning process.
I mentioned the software to a colleague at another research organisation,
and he was interested.

He had the following question:

Can the following non-linear fit be carried out (I suppose by NLS),
y~(x^a)*(w^b), where a and b are the parameters and x and w are variables?
i.e. the formula has two independent variables.

Does the software do this sort of thing, or will it only handle one
independent variable?  I gave it a go but did not get an answer out of
it....the response being
2590.046 :  5.0 0.4 
Error in qr(attr(rhs, "gradient")) : NA/NaN/Inf in foreign function call
(arg 1)

Before I persevere any further, does NLS have this capability, or am I on
the wrong track?


Matt Redding

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.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list