powered by
Change numbers into formatted numbers
addComma(x)# S3 method for mytable addComma(x)# S3 method for mytable.df addComma(x)# S3 method for cbind.mytable addComma(x)# S3 method for data.frame addComma(x)# S3 method for character addComma(x)
# S3 method for mytable addComma(x)
# S3 method for mytable.df addComma(x)
# S3 method for cbind.mytable addComma(x)
# S3 method for data.frame addComma(x)
# S3 method for character addComma(x)
An object
mytable: S3 method for class mytable
mytable
mytable.df: S3 method for class mytable.df
mytable.df
cbind.mytable: S3 method for class cbind.mytable
cbind.mytable
data.frame: S3 method for class data.frame
data.frame
character: S3 method for class character
character
# NOT RUN { require(stringr) require(magrittr) require(ggplot2) mytable(cut~.,data=diamonds) %>% addComma x=mytable(Dx~sex,data=acs) addComma(x) # }
Run the code above in your browser using DataLab