Learn R Programming

ANLP (version 1.3)

sampleTextData: Sample text data

Description

This function reads text files in the binary mode

Usage

sampleTextData(data, proportion)

Arguments

data
Data read by readTextFile
proportion
Value between 0 to 1 which represents portion of data

Value

a list having sampled text data

See Also

rbinom