mn: Some shortcut functions for mean, median, and sd, removing...

View source: R/mn_med_sd_na_rm.R

mnR Documentation

Some shortcut functions for mean, median, and sd, removing missing values

Description

mn calculates the mean, removing missings med calculates the mean, removing missings sdev calculates the standard deviation, removing missings

Usage

mn(x)

Arguments

x

A numeric vector

Examples


x <- c(0:10, 100, rep(NA,10))
mn(x)
med(x)
sdev(x)

rethinkpriorities/rp-r-package documentation built on Jan. 7, 2023, 10:11 p.m.