Description Usage Arguments Details Value See Also Examples
Plots an interactive heatmap of a correlation matrix. Currently this only works with the aggregated data set, i.e. you need to have aggregated the data first before using this.
1 2 3 4 5 6 7 8 9 10 11 12 |
COIN |
The COIN object |
aglevs |
A two length vector specifying which level to plot against which level. E.g. |
insig |
Logical: if |
levs |
Logical: if |
grouprects |
Logical: if |
flagcolours |
If |
corthresh |
A named list specifying the colour thresholds to use if |
showvals |
Logical: if |
cortype |
The type of correlation: either |
useweights |
An optional list of weights to use (this is used mainly in the |
This is a slightly involved wrapper for plotly. It allows plotting any level against any other, and outputs correlation heat maps as HTML widgets. It has some flexibility regarding grouping of indicators, colouring, treatment of insignificant correlations, and the correlation type. Explore the arguments and see.
A plotly correlation map (figure).
plotCorr()
Static correlation heat maps
rew8r()
Interactive app for adjusting weights and seeing effects on correlations
getCorr()
Get correlations between indicators/levels
1 2 3 4 | # build ASEM COIN up to aggregation
ASEM <- build_ASEM()
# correlation heatmap of pillars against sub-indexes
iplotCorr(ASEM, aglevs = c(2,3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.