Dear all, I would like to introduce an input parameter with an associated standard error to perform a fitting using the nls function (or any similar function):
parameter1 = 9.00 +/- 0.20 (parameter 1 has a value of 9.00 and standard error of 0.20) fittingResults <- nls(y ~ function(xdata, ydata, parameter1, fittingparameter),start=list(parameter1=9.00, fittingparameter=5.00)) summary(fittingResults) Does anyone know how to introduce the associated standard error of the parameter to the fitting function? Many thanks for your help, Best regards Vicente -- _______________________________________ *Dr. Vicente Martí Centelles* *Postdoctoral Researcher (VALi+d Generalitat Valenciana, Spain)* *Universitat Jaume I*Departamento de Química Inorgánica y Orgánica Avda Sos Baynat s/n E-12071-Castellón (Spain) Tel.: +34 964728235 Fax: +34 964728214 e-mail: mar...@qio.uji.es *web page*: www.vmarti.es [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.