powered by
Converts a tm corpus object to a PRISMA object.
corpusToPrisma(corpus, alpha = 0.05, skipFeatureCorrelation = FALSE)
a tm corpus
significance level for the feature tests. If NULL, all features are kept.
should the grouping of features based on correlation analysis be skipped.
data object representing the tokenized documents as features x samples matrix.
# NOT RUN { if (require("tm") && packageVersion("tm") >= '0.6') { data(thesis) thesis thesis = corpusToPrisma(thesis, NULL, TRUE) thesis } # }
Run the code above in your browser using DataLab