sd_sample_uncorrected {sarp.snowprofile}R Documentation

fast uncorrected sample standard deviation https://en.wikipedia.org/wiki/Standard_deviation#Rapid_calculation_methods

Description

fast uncorrected sample standard deviation https://en.wikipedia.org/wiki/Standard_deviation#Rapid_calculation_methods

Usage

sd_sample_uncorrected(x, xbar = mean(x), na.rm = FALSE)

Arguments

x

a numeric vector

xbar

arithmetic mean of x

na.rm

remove any NAs before computation of standard deviation?

Value

uncorrected sample standard deviation (i.e., a numeric scalar)

Author(s)

fherla


[Package sarp.snowprofile version 1.3.2 Index]