On Aug 3, 2012, at 2:11 PM, R. Michael Weylandt wrote:
On Fri, Aug 3, 2012 at 2:53 PM, John linux-user > wrote:
Maybe what I previously posted was not clear enough or something
else. All vectors L1,L2.. and objects (e.g. a.list, b.list, c.list)
already exit or easily to be created in a works
On Fri, Aug 3, 2012 at 2:53 PM, John linux-user wrote:
> Maybe what I previously posted was not clear enough or something else. All
> vectors L1,L2.. and objects (e.g. a.list, b.list, c.list) already exit or
> easily to be created in a workspace. Do not worry about those. The key
> question is
meric(dat[,3]))
> #or i$add=as.numeric(dat[,3]
> names(i)[names(i)=="add"]=substr(x,1,5)
>
> print (i[1:3,])
> }}
From: David Winsemius
Cc: "r-help@r-project.org"
Sent: Friday, August 3, 2012 2:58 PM
Subject: Re: [R] add
ser
Cc: "r-help@r-project.org"
Sent: Wednesday, August 1, 2012 7:21 PM
Subject: Re: [R] add vectors to multiple objects
On Aug 1, 2012, at 8:11 AM, John linux-user wrote:
> Hi everyone,
>
> I try to add many vectors (L1,L2,L3) to many list objects
(a.list, b.list) in a
ow to sign vectors L1,L2,..Ln to each object (a.list, b.list...)
}
Any suggestions/comments/ideas will be appreciated.
John
From: David Winsemius
Cc: "r-help@r-project.org"
Sent: Wednesday, August 1, 2012 7:21 PM
Subject: Re: [R] add vectors
On Aug 1, 2012, at 8:11 AM, John linux-user wrote:
Hi everyone,
I try to add many vectors (L1,L2,L3) to many list objects
(a.list, b.list) in a workspace. Somethings like below, but it
is not working. Any suggestions will be appreciated. Best, John
lf=ls(pattern=".lst")
for (x
Hi everyone,
I try to add many vectors (L1,L2,L3) to many list objects (a.list,
b.list) in a workspace. Somethings like below, but it is not working. Any
suggestions will be appreciated. Best, John
lf=ls(pattern=".lst")
for (x in listfiles) {
dat=read.delim(x,header=F)
for
7 matches
Mail list logo