Skip to content
Prev 285929 / 398502 Next

error with persp()- increasing 'x' and 'y' values expected

On Feb 20, 2012, at 5:49 PM, adick wrote:

            
?rep

 > rep(1:3, times=3)
[1] 1 2 3 1 2 3 1 2 3
 > rep(1:3, each=3)
[1] 1 1 1 2 2 2 3 3 3

You can also use gl

?gl