rmean: Rounded Mean

Description Usage Arguments Value Examples

View source: R/rmean.R

Description

Mean or Weighted Mean rounded to 2 decimal places by default Takes a vector

Usage

1
rmean(x, wt = NULL, n = 2)

Arguments

x

vector of numbers

wt

weight vector

n

number of rounding places

Value

numeric

Examples

1
x <- c(.200, .123, 2.2); rmean(x)

soodoku/goji documentation built on May 30, 2019, 6:29 a.m.