Dear Manli,
Do you mean the names of the variables? If so, something like this should
work:
paste('X',1:100,sep="")
HTH,
Jorge
On Wed, Mar 4, 2009 at 4:34 PM, Manli Yan <[email protected]> wrote:
> Hi:
> I need to create many variables at one time,how to do this in R?
> for eg ,X1,X2.......X100?
>
> Thanks~
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.