Description Usage Arguments Value See Also
View source: R/functions_analysis.R
Produces a heatmap displaying Pearson correlation between expected values (ELEs) by occupation. The heatmap is arranged according to SOC2 code, so that similar occupations are grouped together.
1 | correlationPlot(blended.results, plot.dim = 6.5, print.plot = TRUE)
|
blended.results |
Blended predictions from imputation models, calculated
at convergence iterations and blending proportions computed by
|
plot.dim |
Length of each side of the plot (in inches); default is 6.5 |
print.plot |
Should plot file (.png) be generated; default is TRUE (create plot file) |
A list of length four, containing a data frame of expected values, a correlation matrix, and two plot objects (one where the individual occupations are labeled in addition to the SOC2 group labels, and one where they are not); optionally produces a PDF of the heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.