sd-HistDat-method: Calculates the standard deviation of the observations in the...

Description Usage Arguments Value Examples

Description

Calculates the standard deviation of the observations in the histogram dataset

Usage

1
2
## S4 method for signature 'HistDat'
sd(x)

Arguments

x

An instance of the class HistDat

Value

A numeric of length 1, holding the standard deviation of all observations in the dataset

Examples

1
2
hd <- HistDat(vals = 1:3, counts = c(1, 2, 1))
sd(hd) # returns 0.8164966

HistDat documentation built on April 6, 2021, 9:08 a.m.