Or..
unlist(data)
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Nick Matzke
Sent: Saturday, 5 June 2010 11:17 AM
To: r-help@r-project.org
Subject: Re: [R] 380x380 dataframe to list
That's the answer, thanks!!
Nick
That's the answer, thanks!!
Nick
Peter Langfelder wrote:
c(as.matrix(data)) will not do it?
Peter
On Fri, Jun 4, 2010 at 5:47 PM, Nick Matzke wrote:
Hi,
This can't be hard, but I can't find the solution. I have a 380x380 data
frame of numbers. I would like to turn it into a single column
c(as.matrix(data)) will not do it?
Peter
On Fri, Jun 4, 2010 at 5:47 PM, Nick Matzke wrote:
> Hi,
>
> This can't be hard, but I can't find the solution. I have a 380x380 data
> frame of numbers. I would like to turn it into a single column so I can do
> e.g. hist and mean on it without writing
Hi Nick,
Try unlist(yourdataframe).
HTH,
Jorge
On Fri, Jun 4, 2010 at 8:47 PM, Nick Matzke <> wrote:
> Hi,
>
> This can't be hard, but I can't find the solution. I have a 380x380 data
> frame of numbers. I would like to turn it into a single column so I can do
> e.g. hist and mean on it witho
Hi,
This can't be hard, but I can't find the solution. I have a
380x380 data frame of numbers. I would like to turn it into
a single column so I can do e.g. hist and mean on it without
writing my own function. There must be a simple function
for this, but I'm stumped -- reshape, dim, etc.
5 matches
Mail list logo