data("data_personality_traits")
X <- data_personality_traits$X
W <- data_personality_traits$W
fit <- cwLocScat(X, W)
fit$cwMLEiter # number of iteration steps taken
round(fit$cwMLEmu, 2)
round(fit$cwMean, 2)
round(fit$cwMLEsigma, 2)
round(fit$cwCov, 2)
# For more examples, we refer to the vignette:
if (FALSE) {
vignette("cellwise_weights_examples")
}
Run the code above in your browser using DataLab