[R] extractor rows from a matrix

John Kane jrkrideau at yahoo.ca
Wed Jun 13 20:29:37 CEST 2007


 ex1 <- ht[,1]    and so on?

Have a look at Chapter 5 in the Introduction to R 
--- billycorg <billycorg1 at virgilio.it> 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
> 
> what can i do?
> thank you!
> 
> Vincenzo
> -- 
> View this message in context:
>
http://www.nabble.com/extractor-rows-from-a-matrix-tf3913088.html#a11094459
> Sent from the R help mailing list archive at
> Nabble.com.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>



More information about the R-help mailing list