Wednesday, May 13, 2020

fivenum

A measure of spread and shape. Returns Tukey's five number summary for a dataset:


minimum

smallest value

lower hinge

~ 25% value

median

middle value

upper hinge

~75% value

maximum

greatest value


These are depicted pretty well with box plots. I'll link to that when I write it.

R Example

> fivenum(faithful$waiting)
[1] 43 58 76 82 96

No comments:

Post a Comment

Please help to combat malicious use of the Internet.