Why?
See ?seq
seq(0,1,.01)
--- On Wed, 6/9/10, suman dhara wrote:
> From: suman dhara
> Subject: [R] for loop incremented by 0.01
> To: r-h...@stat.math.ethz.ch
> Received: Wednesday, June 9, 2010, 12:30 PM
> Sir,
> I want to use a for loop which will be incremented b
not tested
for(i in seq(0, 1, by = 0.01)) {
print(i)
}
Read FAQ 7.31 though.
suman dhara wrote:
Sir,
I want to use a for loop which will be incremented by 0.01 in 0 to 1.
Please help.
Regards,
Suman Dhara
[[alternative HTML version deleted]]
__
Sir,
I want to use a for loop which will be incremented by 0.01 in 0 to 1.
Please help.
Regards,
Suman Dhara
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read t
3 matches
Mail list logo