search for: minfun

Displaying 2 results from an estimated 2 matches for "minfun".

Did you mean: mainfun
2003 Mar 03
2
samin and vmmin
I am writing code in C and would like to call R's functions samin and vmmin (optimization routines: simulated annealing and BFGS) I do not understand how to create and pass in the function (as well as the extra arguments it needs) I am optimizing. I have read the R Extensions manual but it is still unclear to me. Could you give me some pointers and/or direct me to some example code which
2010 Feb 10
2
Total least squares linear regression
Dear all, After a thorough research, I still find myself unable to find a function that does linear regression of 2 vectors of data using the "total least squares", also called "orthogonal regression" (see : http://en.wikipedia.org/wiki/Total_least_squares) instead of the "ordinary least squares" method. Indeed, the "lm" function has a