[R] Dataframes - Integer and decimal in same column?
Deepthi Theresa
deepthitheresa at gmail.com
Fri Nov 6 22:26:21 CET 2015
Hi all,
My question is about R dataframes. I am making html reports using R
datframe tables and RMarkdown.
I have a dataframe with integer values on it and I had to rbind another
dataframe with decimal values with the first dataframe.
After the rbind function all values changed to decimal values. Can we keep
integer and decimal numbers in the same column? Or at least round some of
the decimal rows to zero decimal point. anything works. I just want to
show the integer rows as integer values and decimal rows as decimal
values.
Thanks,
Deepthi
----------------------------------------------------------------------------------------------------------------
Deepthi Theresa Thomas Kannanayakal
Email: deepthitheresa at gmail.com
[[alternative HTML version deleted]]
More information about the R-help
mailing list