create_docsets: Create training and test set document matrices

View source: R/firststage_functions.R

create_docsetsR Documentation

Create training and test set document matrices

Description

Create training and test set document matrices

Usage

create_docsets(alldocs, size, seed)

Arguments

alldocs

The document data.frame to be split

size

Size of the training set (must be smaller than number of documents in the data.frame)

seed

Seed for randomization to ensure replicability


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.