Hi R,

 

I have a vector V1 of unknown length, say n. I need to convert this into
a matrix C of row size=5, and accordingly the column should be updated.
I tried with:

 

C=as.matrix(V1,5,n/5)

 

But it is not working...Could somebody help me on this?

 

Thanks in advance...

 


	[[alternative HTML version deleted]]

