The **standard deviation (sd or \(\sigma\))** is the square root of the variance. Unlike the variance, the standard deviation has the same unit as the mean, the median or any entry in the dataset. This makes it very useful as it can be used in combination with the mean to define how values are spread around the mean. Often, you will find this expressed as `mean +/- sd`

.

In R, the standard deviation is obtained via the function `sd()`

:

```
my.dataset <- c(1,2,3,4,5,6,7,8,9,10)
sd(my.dataset)
```

`## [1] 3.02765`

Note that you will obtain the same result by calculating “manually” the square root of the variance using the expression `sqrt(var())`

:

`sqrt(var(my.dataset))`

`## [1] 3.02765`