-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error with best.fit() #8
Comments
Here is my code to reporduce the error: t <- seq(from = 30, to = 3000, by = 30) |
aRpsDCA doesn't currently do a good job of guessing initial declines from data like this, which begins with a series of zero rate values. This may be improved in future releases, especially because the initial guess here of (0 - 0) / 0 = NaN blows up the entire fitting process. That said, this data needs to be filtered to get any meaningful DCA result. Dropping zero-rate observations will let |
below is the message after running the best.fit() function on my data:
Error in if (Di < EXPONENTIAL_EPS || Df < EXPONENTIAL_EPS || b < HARMONIC_EPS) Inf else if (abs(Df - :
missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1])), function(guess) sse(q, :
NA/NaN function evaluation
2: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1])), function(guess) sse(q, :
NA/NaN function evaluation
3: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1])), function(guess) sse(q, :
NA/NaN function evaluation
4: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1]), 1.5), function(guess) sse(q, :
NA/NaN function evaluation
5: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1]), 1.5), function(guess) sse(q, :
NA/NaN function evaluation
6: In nlminb(c(q[1], -((q[2] - q[1])/q[1])/(t[2] - t[1]), 1.5), function(guess) sse(q, :
NA/NaN function evaluation
The text was updated successfully, but these errors were encountered: