[R] Pattern Analysis Libraries

Jeff Reichman re|chm@nj @end|ng |rom @bcg|ob@|@net
Mon Dec 16 20:13:18 CET 2019


I have a need to find aggregated patterns within a data.frame of some 80
million records and wanted to know if there are any packages which could be
used to find patterns by row. For example

Col 1	Col 2 	Col3
A	1	aa
A	2	bb
A	1	aa

In this example pattern A - 1 - aa occurs twice, and A - 2 - bb occurs once.
Presently I'm simply concatenating the columns and performing a group by,
and count. Which works but wonder if there were any packages that would
perform such (and maybe other) analytics.


Jeff Reichman
(314) 457-1966

More information about the R-help mailing list