get_denom_corr: Correlations between indicators and denominators
Description
Get a data frame containing any correlations between indicators and denominators that exceed a given
threshold. This can be useful when whether to denominate an indicator and by what may not be obvious.
If an indicator is strongly correlated with a denominator, this may suggest to denominate it by that
denominator.
A data frame of pairwise correlations that exceed the threshold.
Arguments
coin
A coin class object.
dset
The name of the data set to apply the function to, which should be accessible in .$Data.
cor_thresh
A correlation threshold: the absolute value of any correlations between indicator-denominator pairs above this
threshold will be flagged.
cortype
The type of correlation: to be passed to the method argument of stats::cor.
nround
Optional number of decimal places to round correlation values to. Default 2, set NULL to
disable.
use_directions
Logical: if TRUE the extracted data is adjusted using directions found inside the coin (i.e. the "Direction"
column input in iMeta. See comments on this argument in get_corr().