ch.getRowsByColItemsFiles | R Documentation |
This function extracts the rows in FileA that contain the elements in FileB. FileA is a dataframe and FileB is a vector.
ch.getRowsByColItemsFiles(datafile, itemColName, colItemFile, saveFile = NULL)
datafile |
a string specifying the name of the file containing the vector of elements used to identify the rows to extract from the datafile (i.e., FileB). |
itemColName |
a string specifying the column name in the datafile that contains the items to be matched. |
colItemFile |
a file containing a dataframe (i.e., FileA). |
saveFile |
a string specifying the name of the file to save the output. DEFAULT = NULL (no output). |
a dataframe containing the extracted rows.
ch.getRowsByColItemsFiles ("myfile.txt", "prompt", "myItems.txt", "myOutput.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.