Not a direct answer to your questions, but for error-in-variables problems, there are newer technologies than what is in NR. For example:
install.packages("simex") library(simex) example(simex) Andy From: Marc Fischer > > Dear Folks, > > We need to fit the model y~x assuming there are random > errors in both > x and y. Numerical Recipes (Press et al.) have two useful > functions, > fitxy and fitexy, which handle cases of unspecified and specified > errors respectively. > > Are there equivalent functions in base R or a installable package? > Alternatively, has anyone written a wrapper to provide an > interface to > a library of Numerical Recipes routines constructed for Linux? > > Kind regards, > > Marc > > ______________________________________________ > R-help@r-project.org mailing list > 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. > Notice: This e-mail message, together with any attachme...{{dropped:12}} ______________________________________________ R-help@r-project.org mailing list 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.