Learn R Programming

astro (version 1.2)

scmean: Sigma-Clipped Mean

Description

Calculates a sigma-clipped mean

Usage

scmean(x, mult = 3, loop = 10)

Arguments

x
a vector of data
mult
multiples of 1-sigma with which to clip the data (about the mean)
loop
number of loops clipping the data

See Also

The astronomy package: astro.