Description Usage Arguments Value Author(s) Examples
Reads data from several types of data storage types into an R data frame.
1 |
filepath |
Character string of the name of the file or folder, include path if the file is not located in the working directory. |
type |
Character vector specifying the file type. Options include |
index |
The path to a CSV file specifying the training label of each file in the folder of text files, one per line. An example of one line would be |
... |
Other arguments passed to R's |
An data.frame
object is returned with the contents of the file.
Loren Collingwood, Timothy P. Jurka
1 2 | library(RTextTools)
data <- read_data(system.file("data/NYTimes.csv.gz",package="RTextTools"),type="csv",sep=";")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.