How to to achieve clean correlation table output w/ corstarsl() function?
问题 There's a nice correlation table function around (the only one I know producing this special kind of familiarity to ones eye). Bertold already has modified the code in order to achieve a nicer output. However, there are situations e. g. w/ negative correlations when the output still looks somewhat messed up. In the following I show the function first and below a minimal example: corstarsl <- function(x){ # corstars1() computes a correlation matrix w/ significance stars require(Hmisc) x <- as