mean.errors: Arithmetic Mean and Median Value

Description Usage Arguments Details Value

View source: R/summary.R

Description

S3 methods for errors objects.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'errors'
mean(x, ...)

## S3 method for class 'errors'
weighted.mean(x, ...)

## S3 method for class 'errors'
median(x, ...)

Arguments

x

an errors object.

...

further arguments passed to of from other methods.

Details

The mean and weighted.mean methods set the uncertainty as the maximum of the standard deviation of the mean and the (weighted) mean of the uncertainty.

The median method sets the uncertainty as 1.253 * errors(mean(x)), which is derived from the asymptotic variance formula of the median. Note that this value is valid only if the sample is big enough.

Value

An errors object.


errors documentation built on Nov. 10, 2020, 5:09 p.m.