R: Functions to Compute Measures of Central Tendency and Spread....

seX {ChemoSpec} | R Documentation

## Functions to Compute Measures of Central Tendency and Spread. seX!

### Description

These functions compute various measures of central tendency and spread. These functions return a vector containing the measure of central tendency, as well as that measure +/- the requested spread. `seX` is a little different from the others in that it simply returns the standard error of x, hence `seX`. Haven't we always needed a function for `seX`?

### Usage

    seX(x)

    seXy(x)

    seXy95(x)

    seXyIqr(x)

    seXyMad(x)

### Arguments

`x` | A vector of numeric values whose measure of central tendency and spread are to be computed.

### Details

These functions include `na.omit`.

### Value

For all but `seX`, a vector of 3 numeric values, giving the measure of central tendency, that measure + the spread, and that measure - the spread. For `seX`, a single value giving the standard error of x.

### Functions

- `seX`: standard error of x

- `seXy`: mean +/- the standard error

- `seXy95`: mean +/- the standard error at 95% conf. interval

- `seXyIqr`: median +/- the 1st and 3rd quantile

- `seXyMad`: median +/- median absolute deviation

### Author(s)

Bryan A. Hanson, DePauw University.

### References

https://github.com/bryanhanson/ChemoSpec

### Examples

    x <- rnorm(100)
    seX(x)
    seXy(x)
    seXy95(x)
    seXyMad(x)
    seXyIqr(x)

[Package ChemoSpec version 4.4.97 Index]