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

just-standard-deviation and just-skewness require 2 numbers in the array #561

Open
harrisonlo opened this issue Jun 9, 2023 · 1 comment

Comments

@harrisonlo
Copy link

In https://anguscroll.com/just/just-standard-deviation, using an array with one number returns the error message "less than one value was passed to standard deviation" but it should probably say "two values" or simply return 0. Same with skewness.

@harrisonlo
Copy link
Author

Additionally, passing an array of equal numbers into skewness would return NaN, but should probably be 0.

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