[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return column from table as a column
From: |
Roger Mason |
Subject: |
Re: return column from table as a column |
Date: |
Fri, 13 Aug 2021 13:54:52 -0230 |
User-agent: |
mu4e 1.5.6; emacs 27.2 |
Hello Greg,
Greg Minshall writes:
> Roger,
>
>> Is there some means of changing 'data=s1[,3]' to accomplish this?
>
> there may be some more formal way (and i think some of the
> data.frame.alternative packages, like data.table:: or dplyr::, have
> their own ways), but you might try transposing
>
>> t(data=s1[,3])
I think you are implying that I should do this in R. Please correct me
if I'm wrong. I was hoping to avoid using a call to an external
library.
Thanks,
Roger