[R] Sorting text docs based on document meta values in tm()

Kelvin Lam lamkelf at gmail.com
Mon Aug 10 23:04:46 CEST 2009

Hi all,

I wonder if there's any way to reshuffle the text collection by the document
meta values.  For instance, if I have 5 documents that correspond to the
following meta data:

MetaID Sex Age
0         M    38
0         M    46
0         F     24
0         F     49
0         F     33

Can I reorder the text documents based on the ascending order of age?  Thank
you very much!! 
View this message in context: http://www.nabble.com/Sorting-text-docs-based-on-document-meta-values-in-tm%28%29-tp24907478p24907478.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list