8000 `just-standard-deviation` and `just-skewness` require 2 numbers in the array · Issue #561 · angus-c/just · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@harrisonlo

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.

Activity

  1. harrisonlo commented on Jun 16, 2023

    @harrisonlo
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0