PomaCorr | R Documentation |
PomaCorr
computes all pairwise correlations in the data.
PomaCorr(data, method = "pearson", label_size = 8, theme_params = list())
data |
A |
method |
Character. Indicates which correlation coefficient has to be computed. Options are "pearson" (default), "kendall" and "spearman". |
label_size |
Numeric. Indicates plot label size. |
theme_params |
List. Indicating |
A list
with the results.
Pol Castellano-Escuder
Jerome Friedman, Trevor Hastie and Rob Tibshirani (2019). glasso: Graphical Lasso: Estimation of Gaussian Graphical Models. R package version 1.11. https://CRAN.R-project.org/package=glasso
data("st000284")
# Pearson correlation
PomaCorr(st000284)$correlations
## Gaussian graphical model
# library(ggraph)
# PomaCorr(st000284, corr_type = "glasso")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.