CovLP(x, p = 1, a = 1, b = 1)cov: Robust Estimate of Covariance:
Returns depth weighted covariance matrix.
The
depthContour and depthPersp for depth graphics.x = mvrnorm(n = 100, mu = c(0,0), Sigma = 3*diag(2))
cov_x = CovLP(x,1,1,1)
# EXAMPLE 2
data(under5.mort,inf.mort,maesles.imm)
data1990 = na.omit(cbind(under5.mort[,1],inf.mort[,1],maesles.imm[,1]))
CovLP(data1990)Run the code above in your browser using DataLab