Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

For a given numeric vector, I would like to create the five-number summary statistics.

You must be logged in to vote

Replies: 2 comments

Comment options

You can use the @stdlib/stats/incr/summary package to incrementally compute summary statistics for a given numeric vector. The incrsummary() function returns an accumulator function which takes a numeric vector as an input and returns an updated summary. The returned summary includes the five-number summary statistics, including the minimum, first quartile, median, third quartile, and maximum.

References

Link Definitions

Disclaimer

  • This answer was generated with the help of AI and is not guaranteed to be correct. We will review the answer and update it if necessary.
  • You can also ask follow-up questions to clarify the answer or request additional information by leaving a comment on this issue starting with /ask.
You must be logged in to vote
0 replies
Comment options

/ask Can you please show me a code example?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.