| fivenum | R Documentation |
tf vectorsComputes a depth-based five number summary for functional data: the observations with minimum, lower-hinge, median, upper-hinge, and maximum depth values.
fivenum(x, na.rm = FALSE, ...)
## Default S3 method:
fivenum(x, na.rm = FALSE, ...)
## S3 method for class 'tf'
fivenum(x, na.rm = FALSE, depth = "MHI", ...)
x |
a |
na.rm |
logical; if |
... |
passed to |
depth |
depth method for ordering. See |
fivenum.tf: a named tf vector of length 5.
fivenum.default: see stats::fivenum().
Other tidyfun summary functions:
functionwise,
tfsummaries
set.seed(1)
f <- tf_rgp(7)
fivenum(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.