Re: [R] String frequencies in rows

From: Ben Bolker <>
Date: Thu 27 Jul 2006 - 00:59:35 EST

Mario Falchi <mariofalchi <at>> writes:

> I’m trying to evaluate the frequency of different strings in each row of a
data.frame :
> ID G1 G2 G3 G4 … GN
> 1 AA BB AB AB …

  Something like

z <- data[,-1]


  Ben Bolker mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu Jul 27 01:22:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 27 Jul 2006 - 02:16:40 EST.

Mailing list information is available at Please read the posting guide before posting to the list.