Description Usage Arguments Value Author(s)
View source: R/march.dataset.R
The function loads a dataset from a text file, where each row (resp. column) represents a data series when MARGIN is 2 (resp. 1), using the character sep as attribute separator. Each data sequence should be stored in a given column, (resp. row).
1 | march.dataset.loadFromFile(filename, MARGIN = 2, sep = ",", weights = NA)
|
filename |
The complete path to the text file containing the dataset. |
MARGIN |
The dimension of the extracted data.frame that contains the sequences (resp 1 for the column, 2 for the rows). |
sep |
A caracter used as element separator on a line. |
weights |
If specified, contains the weight of each sequence. |
a march.Dataset-class
object containing the data from the file found at filename, using separator
sep.
Ogier Maitre #'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.