[R] access/row access/col access
Sarah Goslee
sarah.goslee at gmail.com
Fri Jan 13 17:15:51 CET 2012
I have to admit, I have very little idea what you are trying to do. Can you
provide an example?
In general, the i-th column of a data frame can be accessed with
mydataframe[, i]
but that doesn't help with whatever you want to do with apply().
Sarah
On Fri, Jan 13, 2012 at 10:45 AM, statquant2 <statquant at gmail.com> wrote:
> Hello,
> I have a data.frame and I want to transfor it in a list of rows or columns.
> I can do apply(myDataFrame,MARGIN=1,FUN=???)
>
> I remember that there is a function which mean return or access column ...
> something like "::" or "]," or "[,"
> I can't remember can somebody refresh my memory?
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list