powered by
surround(x, pre = " ", post = " ", width = 8, ...)
format
surround(rbinom(10,20,.5), "", "", width=4) surround(rnorm(10), "", "", width=8, digits = 2, nsmall = 2)
Run the code above in your browser using DataLab