powered by
sd computes the standard deviation of the values in x. If na.rm is TRUE then missing values are removed before computation proceeds.
sd
# S3 method for default sd(x, na.rm = FALSE)
standard deviation of x
a numeric vector or an R object which is coercible to one by as.double(x)
logical. Should missing values be removed?
x = rnorm(n = 200, mean = 0, sd = 1) sd(x)
Run the code above in your browser using DataLab