Learn R Programming

vvconverter (version 0.7.0)

median_top_10: Median top 10 percentage

Description

Calculate the median of the top ten percentage of the values.

Usage

median_top_10(x, na.rm = FALSE)

Value

A numerical value

Arguments

x

A numerical vector

na.rm

Default TRUE: Remove NAs, before calculations.

Examples

Run this code
median_top_10(mtcars$cyl)

Run the code above in your browser using DataLab