Top "Nlm" questions

Error in optim: function cannot be evaluated at initial parameters

So I've run into this weird error in R. I have a simple function which returns an error term when …

r nonlinear-functions nonlinear-optimization nlm
Error in f(x, ...) : argument "x" is missing, with no default in nlm

rm(list=ls(all=TRUE)) data <- read.csv("con.csv", header=TRUE, sep = ",") x <- data$X0 …

r nlm