addComma {moonBook} | R Documentation |
Change numbers into formatted numbers
addComma(x)
## S3 method for class 'mytable'
addComma(x)
## S3 method for class 'mytable.df'
addComma(x)
## S3 method for class 'cbind.mytable'
addComma(x)
## S3 method for class 'data.frame'
addComma(x)
## S3 method for class 'character'
addComma(x)
x |
An object |
mytable
: S3 method for class mytable
mytable.df
: S3 method for class mytable.df
cbind.mytable
: S3 method for class cbind.mytable
data.frame
: S3 method for class data.frame
character
: S3 method for class character
## Not run:
require(stringr)
require(magrittr)
require(ggplot2)
mytable(cut~.,data=diamonds) %>% addComma
x=mytable(Dx~sex,data=acs)
addComma(x)
## End(Not run)