march.dataset.loadFromFile: Load a dataset from a file.

Description Usage Arguments Value Author(s)

View source: R/march.dataset.R

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

1
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 object containing the data from the file found at filename, using separator sep.

Author(s)

Ogier Maitre #'


march documentation built on May 29, 2017, 5:33 p.m.