dlrs: Calculate the Derivative Log Root Square (DLRS)

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The DLRS is a robust estimate of the standard deviation. It is useful for determining the local spread of a distribution, such as for determining the noise in a CGH array.

Usage

1
dlrs(x)

Arguments

x

A numeric vector.

Details

The DLRS is a robust estimate of the standard deviation. It is useful for determining the local spread of a distribution, such as for determining the noise in a CGH array.

Value

A single numeric value representing the DLRS.

Author(s)

Sean Davis <seandavi@gmail.com>

See Also

mad

Examples

1
2
3
4
5
6
7
8
9
x <- rnorm(10000)
dlrs(x)
sd(x)
# note that a shift of a large chunk of the data
# does not significantly alter the dlrs, but it
# does alter the sd.
x[5000:7000] <- x[5000:7000]+10
dlrs(x)
sd(x)

seandavi/Rpressa documentation built on May 29, 2019, 4:33 p.m.