formatInt(x, digits, fill = "0", ...)
make.latex.coef.table(models, model.names = NULL, row.major = FALSE, round.digits = NULL)
mytex (dat=NULL, file.name="temp", digits=NULL, display=NULL, align="r", include.rownames=TRUE, include.dup.rownames=FALSE, include.colnames=TRUE, col.headers=NULL, comment=FALSE, floating=FALSE, lines=TRUE, hline.after=NULL, add.to.row=NULL, sanitize.text.function = NULL, #function(x) x, append=FALSE, preamble="", stand.alone=TRUE,
...)
mytex.begin(file.name, preamble = "")
mytex.end(file.name)
mywrite(x, ...)
mywrite.csv(x, file = "tmp", row.names = FALSE, digits = NULL, ...)
roundup(value, digits)
formatDouble(value, digits)
roundup (3.1, 2) # 3.10
formatInt(3, 2) # 03
Run the code above in your browser using DataLab