powered by
Calculates the standard deviation of the observations in the histogram dataset
# S4 method for HistDat sd(x)
An instance of the class HistDat
A numeric of length 1, holding the standard deviation of all observations in the dataset
# NOT RUN { hd <- HistDat(vals = 1:3, counts = c(1, 2, 1)) sd(hd) # returns 0.8164966 # }
Run the code above in your browser using DataLab