In situations where there is limited data we get this unpleasant message in the console from geom_smooth(). Users don't see it but we do so I turned it off since we know what's happening and I think it's fine if the smooth is not shown in these cases.
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
span too small. fewer data values than degrees of freedom.
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
at 18628
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
radius 0.024025
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
all data on boundary of neighborhood. make span bigger
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
pseudoinverse used at 18628
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
neighborhood radius 0.155
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
reciprocal condition number 1
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
at 18659
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
radius 0.024025
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
all data on boundary of neighborhood. make span bigger
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
There are other near singularities as well. 0.024025
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
zero-width neighborhood. make span bigger
Warning in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, :
zero-width neighborhood. make span bigger
Warning: Computation failed in `stat_smooth()`:
NA/NaN/Inf in foreign function call (arg 5)
Warning: Removed 2 rows containing missing values (geom_point).
In situations where there is limited data we get this unpleasant message in the console from
geom_smooth()
. Users don't see it but we do so I turned it off since we know what's happening and I think it's fine if the smooth is not shown in these cases.Happens for this family/species