search for: startargument

Displaying 1 result from an estimated 1 matches for "startargument".

2009 Jul 20
1
Argument problem in function wrapper
...rgument) which seems not to reach nls even if we explicitly assign it in the function call. We are attaching the simplest code reproducing the error and the output calling the wrapper and calling nls directly. We are using R 2.9.0 library(stats) wrappernls <- function(modelArgument,dataArgument,startArgument,weightsArgument) { F.mod <-try(nls(formula=modelArgument,data=dataArgument,start=startArgument, weights=weightsArgument, control=nls.control(maxiter = 500, tol = 1e-05, minFactor = 1/102400)),silent=TRUE) return(F.mod) } F<-c(0.4091867,0.4060938,0.4032078,0.4089090,0.4138126,0.4183426,0.4073...