search for: nn0

Displaying 1 result from an estimated 1 matches for "nn0".

Did you mean: nn
2001 Sep 27
1
Making a factor with common levels ...
...e in each vector. I can get the list of common names quite easily, using: nn<-sort(unique(c(levels(n1)[table(n1)>N],levels(n0)[table(n0)>N]))) Some of the factor levels may be empty for one of the factors but the same level must be present in the other. Is there a simple way to extract nn0 and nn1 so that the pairs remain correctly aligned and each list has at least N cases of each name? Or do I have to jump into my steamroller and do a couple of loops? TIA John -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www....