Just take advantage of R's vectorized calculations as

x <- seq(1:600)

.8^x

Harold


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of livia
> Sent: Tuesday, July 03, 2007 12:05 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] sequences
> 
> 
> Hi, I would like to generate a series in the following form 
> (0.8^1, 0.8^2, ..., 0.8^600) Could anyone tell me how can I 
> achieve that? I am really new to R.
> --
> View this message in context: 
> http://www.nabble.com/sequences-tf4019146.html#a11414836
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

______________________________________________
R-help@stat.math.ethz.ch 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