apply within my script? Can you explain what for
are you using those commands?
Thanks for the help anyway.
Cheers,
Carlos
From: Henrique Dallazuanna
Cc: r-help@r-project.org
Sent: Thursday, August 27, 2009 7:00:45 PM
Subject: Re: [R] subset of a matrix
Try thi
Hi Milton,
Thanks for trying to help anyway.
From: milton ruser
Cc: r-help@r-project.org
Sent: Thursday, August 27, 2009 6:48:41 PM
Subject: Re: [R] subset of a matrix
Hi Carlos,
I think I made a wrong suggestion. Sorry about that.
I was thinking that if
Try this:
lapply(data,
function(r)
lapply(split(r,
substr(sprintf("%05d", as.numeric(gsub("[a-z]", "",
row.names(r, 1, 3)), table))
On Thu, Aug 27, 2009 at 1:27 PM, Carlos Gonzalo Merino Mendez <
carlosgmer...@yahoo.com> wrote:
> Hello everyone, I
Hi Carlos,
I think I made a wrong suggestion. Sorry about that.
I was thinking that if you have the same rowname length it helps you on the
data handling. Is it true?! Case yes I can try suggest another automatic way
of you get it.
bests
milton
On Thu, Aug 27, 2009 at 12:39 PM, milton ruser
Hi Carlos,
how about this step first:
rownames(mydata)<-gsub("361a","00361a",rownames(mydata))
rownames(mydata)<-gsub("456a","00456a",rownames(mydata))
good luck
milton
On Thu, Aug 27, 2009 at 12:27 PM, Carlos Gonzalo Merino Mendez <
carlosgmer...@yahoo.com> wrote:
> Hello everyone, I would ap
Hello everyone, I would appreciate any help with the following.
My dataset is a list containing matrices. So if you type e.g.
data[[1]]
you get something like:
[,1][,2]
361a AT
456b AG
72145aTG
As you can see my rows have names which are char
6 matches
Mail list logo