Re: [R] Repeating value occurence

2011-01-13 Thread Nick Sabbe
A1.056, Coupure Links 653, 9000 Gent ring: 09/264.59.36 -- Do Not Disapprove -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Rustamali Manesiya Sent: donderdag 13 januari 2011 5:12 To: r-help@r-project.org Subject: [R] Repeating

[R] Repeating value occurence

2011-01-12 Thread Rustamali Manesiya
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]] _