## Not run:
# # load iris dataset
# data(iris)
#
# # total covariance matrix (dividing by n-1)
# totalCov(iris[,1:4])
#
# # total covariance matrix (dividing by n)
# totalCov(iris[,1:4], div_by_n=TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab