You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> intersect1_temp = curve_intersect(curve1_temp, line1_temp)
Error in approxfun(curve2$x, curve2$y, rule = 2) :
need at least two non-NA values to interpolate
based on visual plotting, the two curves should have an intersect:
ggplot(data = curve1_temp, aes(x = x, y = y)) + geom_line(color = "red") + geom_line(data = line1_temp, aes(x = x, y = y), color = "green")
Can you please help what can be the issue?
The text was updated successfully, but these errors were encountered:
csapot
changed the title
curve_intersect: Error in approxfun, when one of the curves is a vertical line
curve_intersect: "Error in approxfun", when one of the curves is a vertical line
Jul 22, 2020
I'm trying the following code:
and the result of curve_intersect is:
based on visual plotting, the two curves should have an intersect:
Can you please help what can be the issue?
The text was updated successfully, but these errors were encountered: