Mario Falchi <mariofalchi <at> yahoo.com> writes: > Iâm trying to evaluate the frequency of different strings in each row of a data.frame : > INPUT: > ID G1 G2 G3 G4 ⦠GN > 1 AA BB AB AB â¦
Something like z <- data[,-1] table(z,row(z)) ? Ben Bolker ______________________________________________ [email protected] 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.
