Hi Stella,
I think Sarah is correct in asking if that is what you really want,
but you can get a list similar to what you asked for like this:
sample_names<-unique(sx.df$Samples)
sx.lst<-list()
for(sn in 1:length(sample_names))
sx.lst[[sn]]<-sx.df$counts[sx.df$Samples==sample_names[sn]]
names(sx.
Hi Stella,
On Wed, Jul 29, 2015 at 1:14 PM, Stella Xu wrote:
>
> My question is about how to select and rearrange the data to a new data
> frame
> Here is an example:
> Samples counts time
> A 10 3
> A 12 4
> A 11 3
>
My question is about how to select and rearrange the data to a new data
frame
Here is an example:
Samples counts time
A 10 3
A 12 4
A 11 3
B 12 4
B 10 5
C
3 matches
Mail list logo