Learn R Programming

descriptr (version 0.5.2)

ds_measures_location: Measures of location

Description

Returns the measures of location such as mean, median & mode.

Usage

ds_measures_location(data, ..., trim = 0.05)

Arguments

data

A data.frame or tibble.

...

Column(s) in data.

trim

The fraction of values to be trimmed before computing the mean.

Examples

Run this code
# NOT RUN {
ds_measures_location(mtcarz)
ds_measures_location(mtcarz, mpg)
ds_measures_location(mtcarz, mpg, disp)

# }

Run the code above in your browser using DataLab