[R] (no subject)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Aug 28 18:03:30 CEST 2003
giovanni caggiano <gcaggiano at yahoo.com> writes:
> Dear All,
> A couple of questions about the nls package.
>
> 1. I'm trying to run a nonlinear least squares
> regression but the routine gives me the following
> error message:
>
> step factor 0.000488281 reduced below `minFactor' of
> 0.000976563
>
> even though I previously wrote the following command:
> nls.control(minFactor = 1/4096), which should set the
> minFactor to a lower level than the default one,
> 1/1024=0.000976563.
> Is there any way of setting the new minfactor to a
> lower level?
I suspect you didn't quite understand how to do it:
ctl.obj <- nls.control(minFactor = 1/4096)
nls(....., control=ctl.obj)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list