[R] equivalent R functions for Numerical Recipes fitxy and fitexy ?

2008-07-27 Thread 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 ins

[R] equivalent R functions for Numerical Recipes fitxy and fitexy ?

2008-07-27 Thread 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 ins