Skip to contents

sqrt(variance(dist)), for any object with a variance() method. Named after Rust's std_dev (Python's std()), so it does not mask stats::sd().

Usage

std_dev(dist, ...)

Arguments

dist

A distribution.

...

Unused; for methods.

Value

A single number.

Examples

std_dev(lognormal_from_mean_cv(1000, 0.5))
#> [1] 500