corrplot fix title cut off type='upper'
When creating a correlation plot using type="upper"
, the default settings will cut off the title in the plot.
Add an upper margin to fix mar=c(0,0,2,0)
.
Rename column names with dplyr
Read a file with one valid JSON object per line with R and jsonlite