View source: R/measures_of_position.R
median.leem | R Documentation |
Class method leem for the generic median function
## S3 method for class 'leem'
median(x, na.rm = FALSE, rounding = 2, grouped = TRUE, details = FALSE, ...)
x |
R object (list) of class leem. Use |
na.rm |
a logical value indicating whether |
rounding |
Numerical object. Rounds the values in its first argument to the specified number of decimal places (default |
grouped |
Logical object. Determines whether the measure of position result will be based on grouped data or not (default |
details |
Logical object. Details of data (default |
... |
further arguments passed to or from other methods. |
library(leem)
library(stats)
# Examples
rnorm(36, 100, 50) |> new_leem(variable = 2) |> tabfreq() |> median()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.