-
Notifications
You must be signed in to change notification settings - Fork 13
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
Basic Stats (and Ho/Hs/Fis) Require Population Name to be Numeric With A Single Population #65
Comments
Just pushed a new version of |
This is close. In the above example,
|
should be solved, thanks |
Dear Jerome, I had the same issue with the population name in basic.stats and it was resolved with the updated function, however I get the same error in boot.ppfis (error message "data[dim(data)[1], 1] + 1 : non-numeric argument to binary operator"). Unfortunately I could not figure out what needs to be changed, could you help me there? Best, Jana |
I noticed some odd behavior when there is only a single population.
Ho
,Hs
and, by extensionbasic.stats
, throw an error when the population name is a character instead of an integer. This only seems to happen when there is a single population. I can change my code accordingly to replace the population name with a 1 when there is only one population, but I figured I'd bring the issue to your attention.Example:
The text was updated successfully, but these errors were encountered: