Re: [R] selecting a subset of a matrix based on a value occurring in 5 records

2008-12-24 Thread Veslot Jacques
r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] De la >part >de Bob Green >Envoyé : mercredi 24 décembre 2008 13:17 >À : r-help@r-project.org >Objet : [R] selecting a subset of a matrix based on a value occurring in 5 >records > > >Hello, > >>

[R] selecting a subset of a matrix based on a value occurring in 5 records

2008-12-24 Thread Bob Green
Hello, I am hoping for some advice as to how I might create a subset of a matrix. The matrix is 176 x 3530. The rows are individual records and the columns words. I want to create a new matrix that only consists of words which occur in at least 5 records. For example, if column 7 is "char