sd2: Standard deviation with optional args

View source: R/utils.R

sd2R Documentation

Standard deviation with optional args

Description

This function computes the standard deviation of the values in x. It calls stats::sd except that it also accepts optional arguments and therefore can be used in conjunction with other functions in summarise_projections.

Usage

sd2(vec, ...)

Arguments

vec

a numeric vector

...

optional arguments

Value

numeric. standard deviation

Author(s)

Sangeeta Bhatia, Anne Cori, Pierre Nouvellet


mrc-ide/spatialbranchr documentation built on Oct. 2, 2022, 5:56 p.m.