[R] extractor rows from a matrix

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jun 13 10:16:03 CEST 2007



billycorg wrote:
> hi!
> i have a little problem: my data's matrix has 1093 rows and 3 columns.
> i'd like to extract each rows..
> 
> something like this:
> ht= my matrix
> Dt=(???)=a vector with t=1,2...1093

A vector with t=1,2, ..., 1093 and 3 columns is the matrix itself, isn't 
it? If you want to extract a row from a matrix and you do not know how:

Please read the posting guide before posting and do what it says!
Particularly: Please read "An Introduction to R"!

Uwe Ligges


> what can i do?
> thank you!
> 
> Vincenzo



More information about the R-help mailing list