standard deviation function r code example
Example: r standard deviation
> duration = faithful$eruptions # the eruption durations
> sd(duration) # apply the sd function
[1] 1.1414
> duration = faithful$eruptions # the eruption durations
> sd(duration) # apply the sd function
[1] 1.1414