Closed dlakelan closed 2 months ago
Yes, have the same issue, cf. also https://discourse.julialang.org/t/loess-with-missing-values/90921
Note that it seems to occur even if the vectors have no missing values, so long as their type is something like Vector{Union{Missing,Float64}} so stripping missings manually isn't enough, you also need to convert the result to Vector{Float64}
This appears to be due to trying to convert the values and then call loess recursively on the new type.
Should probably either throw an error, or have an "ignore missing" option which just drops the x,y values where either the x or the y or both are missing.