march.dataset.loadFromFile {march} | R Documentation |
Load a dataset from a file.
Description
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).
Usage
march.dataset.loadFromFile(filename, MARGIN = 2, sep = ",", weights = NA)
Arguments
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. |
Value
a march.Dataset-class
object containing the data from the file found at filename, using separator
sep.
Author(s)
Ogier Maitre #'
[Package march version 3.3.2 Index]