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

Error in plotpie #18

Open
XuexueLiu opened this issue Oct 6, 2021 · 0 comments
Open

Error in plotpie #18

XuexueLiu opened this issue Oct 6, 2021 · 0 comments

Comments

@XuexueLiu
Copy link

Hello
I used mapPies to plot
command:
mapPies(data,nameX="LOG", nameY="LAT", nameZs =c('A','D'),zColours=c("red", "blue"), oceanCol = "lightblue",landCol = "wheat",addSizeLegend=F, addCatLegend=T,mapRegion="eurasia")
while get the ERROR
Error in ratio * radius * cos(2 * pi * seq(cumulatProps[sliceNum], cumulatProps[sliceNum + :
non-numeric argument to binary operator

and my data is like this:
A D Age count LAT LOG
1 200001 1625.5 2 "35,962" "54,038"
200001 1 2891 2 "37,004" "45,459"
100001 1 2853 1 "38,867" "65,800"
100001 1 1267 1 "39,998" "71,073"
570001 930001 1439.6 15 "41,005" "28,952"
100001 1 2672 1 "41,570" "0,950"
1 100001 1143 1 "43,184" "76,780"
100001 200001 1580.333333 3 "45,333" "18,841"
Thankyou for your help
Best
xue

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