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 KenStone when using the group arg #40

Closed
l-ramirez-lopez opened this issue Jun 29, 2022 · 1 comment
Closed

error in KenStone when using the group arg #40

l-ramirez-lopez opened this issue Jun 29, 2022 · 1 comment
Assignees

Comments

@l-ramirez-lopez
Copy link
Owner

The following error is thrown:
Error ... k is larger the the number of groups/levels in 'group'

@l-ramirez-lopez l-ramirez-lopez self-assigned this Jun 29, 2022
@l-ramirez-lopez
Copy link
Owner Author

the error was on the sanity check if (k < nlevels(group)) stop() which was wrongly preventing the function to run when the number of groups to be selected was smaller than the total number of groups. This has been fixed by if (k > nlevels(group)) stop()

l-ramirez-lopez added a commit that referenced this issue Jul 18, 2022
l-ramirez-lopez added a commit that referenced this issue Jul 18, 2022
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