How can achieve this in R using seq, or rep function

c(-1,0,1,0,-1,0,1,0,-1,0)

The range value is between-1 and 1,  and I want it such that there could be
n number of points between -1 and 1

Anyone? Please help Thanks
Rusty

        [[alternative HTML version deleted]]

______________________________________________
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