Learn R Programming

PRISMA (version 0.2-3)

corpusToPrisma: Convert tm copus to PRISMA

Description

Converts a tm corpus object to a PRISMA object.

Usage

corpusToPrisma(corpus, alpha = 0.05, skipFeatureCorrelation = FALSE)

Arguments

corpus
a tm corpus
alpha
significance level for the feature tests. If NULL, all features are kept.
skipFeatureCorrelation
should the grouping of features based on correlation analysis be skipped.

Value

  • prismaDatadata object representing the tokenized documents as features x samples matrix.

Examples

Run this code
data(thesis)
thesis
thesis = corpusToPrisma(thesis, NULL, TRUE)
thesis

Run the code above in your browser using DataLab