Cc: r-help@r-project.org
Subject: Re: [R] How can I create a data.table with 1000 variables
(Var1:Var1000)
Sorry. data.table or even data.frame (as they are related). My question is, if
there is a short form to refer to all 1000 of them similar to what exists in
SAS.
Thank you,
Pooya
That is great!
Thank you so much.
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: Thursday, August 15, 2013 5:29 PM
To: Ista Zahn
Cc: Pooya Lalehzari; R help
Subject: Re: [R] How can I create a data.table with 1000 variables
(Var1:Var1000)
Just to add:
You could
ion(x)
{x1<-data.frame(numeric());colnames(x1)<-x; x1}))
identical(Large_Table,Large_Table2)
#[1] TRUE
A.K.
- Original Message -
From: Ista Zahn
To: Pooya Lalehzari
Cc: arun ; "r-help@r-project.org"
Sent: Thursday, August 15, 2013 5:19 PM
Subject: Re: [R] How can I cre
.frame':0 obs. of 1000 variables:
> $ Var1 : num
> $ Var2 : num
>
> A.K.
>
>
>
> - Original Message -
> From: Pooya Lalehzari
> To: arun
> Cc: "r-help@r-project.org"
> Sent: Thursday, August 15
.K.
- Original Message -
From: Pooya Lalehzari
To: arun
Cc: "r-help@r-project.org"
Sent: Thursday, August 15, 2013 5:09 PM
Subject: RE: [R] How can I create a data.table with 1000 variables
(Var1:Var1000)
Here is the sample code.
Large_Table = data.frame(
>
>
> -Original Message-
> From: arun [mailto:smartpink...@yahoo.com]
> Sent: Thursday, August 15, 2013 5:04 PM
> To: Pooya Lalehzari
> Subject: Re: [R] How can I create a data.table with 1000 variables
> (Var1:Var1000)
>
> This question is still not clear. Could
-
From: arun [mailto:smartpink...@yahoo.com]
Sent: Thursday, August 15, 2013 5:04 PM
To: Pooya Lalehzari
Subject: Re: [R] How can I create a data.table with 1000 variables
(Var1:Var1000)
This question is still not clear. Could you show a reproducible example as to
what you want? In the title
Sorry. data.table or even data.frame (as they are related). My question is, if
there is a short form to refer to all 1000 of them similar to what exists in
SAS.
Thank you,
Pooya Lalehzari.
-Original Message-
From: Bert Gunter [mailto:gunter.ber...@gene.com]
Sent: Thursday, August 15,
8 matches
Mail list logo