Which of the following produces the variance covariance matrix?
(a) sd(x, na.rm=TRUE)
(b) mad(x, na.rm=TRUE)
(c) fivenum(x, na.rm=TRUE)
(d) var(x, na.rm=TRUE)
The question was asked in my homework.
My doubt stems from Commands in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming