“Pretty” table columns 2
I recently wrote a few functions for making some common column formats and posted them here. I’ve recently added them to github gist so that you can download them straight into R using
I changed a couple of the function names though and added an argument to specify_decimal so that you can provide a minimum value. The function arguments are now:
specify_decimal(x, k, min)
npropconv(n, perc, dp.n, dp.perc)
valciconv(val, CIlower, CIupper, dp.val, dp.CI)
minval is the new name for minp.
Hope thats useful…