Skip to content
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

no method matching roc #20

Closed
CompulsoryCoffee opened this issue Jun 14, 2021 · 1 comment
Closed

no method matching roc #20

CompulsoryCoffee opened this issue Jun 14, 2021 · 1 comment

Comments

@CompulsoryCoffee
Copy link

Hi,

Thanks for all the work -
I am getting into Julia and I used ROC last week with success.

This command was working last week but not anymore:
r = roc(mergeDf[:cumLSCount], mergeDf[:cumSusceptibility])

Give me this error message:
ERROR: LoadError: MethodError: no method matching roc(::Vector{Union{Missing, Float64}}, ::Vector{Union{Missing, Float64}})

And some Pkg information:
Status ~/.julia/environments/v1.6/Project.toml
[46ada45e] Agents v4.0.1
[6e4b80f9] BenchmarkTools v1.0.0
[336ed68f] CSV v0.8.5
[a93c6f00] DataFrames v0.21.8
[1313f7d8] DataFramesMeta v0.6.1
[31c24e10] Distributions v0.23.8
[7073ff75] IJulia v1.23.2
[a93385a2] JuliaDB v0.13.0
[add582a8] MLJ v0.14.1
[86cd37e6] OpenStreetMapX v0.2.3
[91a5bcdd] Plots v0.28.4
[c3e4b0f8] Pluto v0.14.8
[49802e3a] ProgressBars v1.2.0
[f535d66d] ROCAnalysis v0.3.0
[b0e4dd01] RollingFunctions v0.6.2
[8e980c4a] Shapefile v0.6.2
[f3b207a7] StatsPlots v0.14.5
[44cfe95a] Pkg

First time posting so please let me know if you need more information

@CompulsoryCoffee
Copy link
Author

I found out my mistake - I had to use
gt = Missings.disallowmissing(gt)

to convert to the required Vector{Float64} format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant