Description Usage Arguments Value Note See Also Examples
View source: R/sims-teaching.R
Shows the steps in the manual calculation of the standard deviation.
1 2 3 4 |
x |
A numeric vector |
digits |
A numeric indicating the number of decimals to round the numeric summaries to. If left at |
... |
Other arguments to the generic |
A list containing the sample size (n
), sample mean (mean
), data.frame of intermediate calculations (tbl
), and number of digits to print (digits))
.
This function shows a table of intermediate output in the calculation of the standard deviation. Used purely to demonstrate the hand-calculation of the standard deviation. Use sd
to actually compute the standard deviation.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.