search for: r_nls_iter

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

2012 Aug 01
1
R_nls_iter error: REAL() can only be applied to a 'numeric', not a 'logical'
Hi I am using the nls function in R however it is causing the following error: REAL() can only be applied to a 'numeric', not a 'logical' Using traceback shows this occurs after the .Call(R_nls_iter, m, ctrl, trace) call. However I do not know how to debug this further to find out what is causing the error. The data I give the nls call definitely starts as numeric. The data.frame is generated by using the following: d = data.read('data.csv', header=FALSE) x = as.numberic(d[,1]) y = a...
2012 Apr 02
2
nls() error
Hello, I am running a simple nls model (which a friend ran OK) but I get the following error: Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, : object 'R_nls_iter' not found Does anyone know what the 'R_nls_iter' error is? The data are: x=1:8 ; y=c(14,19,25,34,43,56,69,76) # starting values: R=.3, K=94 Thanks in advance. Jeff