The default var()
and sd()
R functions calculate the sample variance and standard deviation. But what if you want the population variance or standard deviation? Say hello to {popstats}
!
You can install the released version of popstats from GitHub with:
# install {remotes} package if not available
# install.packages("remotes")
remotes::install_github(repo = "hamedbh/popstats")