make300: Function which cuts strings to the requested sample size and...

Description Usage Arguments

Description

This function takes a string as an argument and returns null if the string has less than 300 tokens or a word frequency data frame of the first 300 token if it is 300 tokens or longer

Usage

1
make300(text, minMaxWordCount)

Arguments

text,

the text you would like tokenized

minMaxWordCount,

no documents with less tokens than indicated will be accepted and all documents longer than the spefified count will be cropped Defaults to 300


mouse0/suicideProject documentation built on May 3, 2019, 5:19 p.m.