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]]

