Re: [R] Dataframes - Integer and decimal in same column?

2015-11-06 Thread Deepthi Theresa
Hello Duncan, Thank you. I completed the task using the exact way you described here. Changed the data frame in to a character type using apply function and complicated the task. Thanks, Deepthi On Nov 6, 2015 4:44 PM, "Duncan Murdoch" wrote: > On 06/11/2015 3:26 PM, Deepthi Theresa wrote: >

Re: [R] Dataframes - Integer and decimal in same column?

2015-11-06 Thread Jeff Newmiller
It is a very fundamental fact about data frames that they are COLUMNS of like data. If you have specific row-oriented requirements then you will need to build a data frame or matrix of character strings of formatted data. --

Re: [R] Dataframes - Integer and decimal in same column?

2015-11-06 Thread Duncan Murdoch
On 06/11/2015 3:26 PM, Deepthi Theresa wrote: 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 rbi

[R] Dataframes - Integer and decimal in same column?

2015-11-06 Thread Deepthi Theresa
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