sem | R Documentation |
This function returns the standard error of the mean (SEM) of a given numeric vector.The SEM defined as the stadard deviation (SD) divided by the square root of the count of observations. In other words, SD(x)/sqrt(n).
sem(x)
x |
Array of which you want to calculate the SEM. |
Returns a numeric SEM.
sem(c(3, 3, 3.5, 4)) sem(iris$Sepal.Length)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.