A simple R function that calculates standard deviation when given a numeric/integer vector.
Please see example usage below:
First, build a vector for the numbers you want to calculate standard deviation
vector_NHL_player_salaries <- c(4060000, 6590000, 5640000)
Secondly, use this vector as an input for standard_deviation function
standard_deviation(vector_NHL_player_salaries)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.