search for: mirror_lf

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

Did you mean: mirror_a
2009 Jun 03
1
Using constrOptim() function
...g this error: Error in f(theta, ...) : argument "x" is missing, with no default If I replace myFunction with myFunction(beta,x) I get this error: Error in beta * feature_1[i, ] : non-numeric argument to binary operator If I try myFunction(beta_i,x) I get: Error in constrOptim(beta_i, mirror_lf(beta_i, x), NULL, ui, ci, mu = 1e-04, : could not find function "f" Clearly, I don;t have a good understanding of how to use constrOptim() or optim() for that matter. Any guidance? Thank you! -- View this message in context: http://www.nabble.com/Using-constrOptim%28%29-function-tp2...