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

add bootgen2*() functions #112

Closed
zkamvar opened this issue Aug 22, 2016 · 0 comments
Closed

add bootgen2*() functions #112

zkamvar opened this issue Aug 22, 2016 · 0 comments

Comments

@zkamvar
Copy link
Member

zkamvar commented Aug 22, 2016

Brought up in #111, it's apparent that aboot() will fail if the distance function has stopifnot(is.genind(x)) at the beginning of the function. To alleviate this, I'll provide a converter so that the user can specify

aboot(mygenind, distance = function(i) mydist(bootgen2genind(i)))

and it will work.

Additionally, documentation needs to be updated to specify that the incoming genind object must have the same dimensions as the outgoing tree object (in strata or individuals).

zkamvar added a commit that referenced this issue Oct 15, 2016
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