Amazing.
Thanks a lot
milton
On Mon, Oct 19, 2009 at 12:55 PM, Henrique Dallazuanna wrote:
> Milton,
>
> Try this:
>
> myDF[grep("k", names(myDF))] <- sapply(myDF[grep("k", names(myDF))],
> function(idx)myDF$namesp[idx])
>
>
> On Mon, Oct 19, 2009 at 2:03 PM, milton ruser
> wrote:
> > Dear R-g
Milton,
Try this:
myDF[grep("k", names(myDF))] <- sapply(myDF[grep("k", names(myDF))],
function(idx)myDF$namesp[idx])
On Mon, Oct 19, 2009 at 2:03 PM, milton ruser wrote:
> Dear R-gurus,
>
> Just supose I have a dara.frame that looks like
>
> myDF<-read.table(stdin(),head=T,sep=",")
> codID,na
2 matches
Mail list logo