[R] subselect in a matrix
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed May 10 11:12:05 CEST 2006
orkun <temiz at deprem.gov.tr> writes:
> hello
>
> I confused one point
>
> in matrix constructed with cbind
> I want to subselect 6. column > 1000
>
> what should the syntax be ?
m[m[, 6] > 1000, ] if I understand your question correctly.
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list