Skip to content
Prev 149226 / 398498 Next

Basic Vector and Matrix Operations

Eric Turkheimer ??:
Dunno if any buildin function in R, but c(x,rep(NA,5-length(x))) seems 
to be simple
which(2==x,arr.ind=T)