HI,
Try:
x1 <- (1:100)^2
A.K.

Hi 

I am newbie of using R. Please help me create vector x(1^2, 2^2, 
3^2,....,100^2) in R. Thanks you 

I am looking forward to see your reply soon, 

Best wish 

Andrew,

______________________________________________
R-help@r-project.org 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.

Reply via email to