<< csv2div Data management dcsv2div >>

fact >> Data management > csv2div2

csv2div2

loads to the Div format a csv file with: field separator=comma ',' and decimal separator = dot '.'

Calling sequence

x_div = csv2div2('mycsvdata');

Arguments

mycsvdata:

the name of a csv file (a string)

the csv file must respect the following format:

the first line of mycsvdata.csv contains the labels of the columns

the first column of mycsvdata.csv contains the labels of the lines

note: the value in first line and first column is dropped

x_div:

a Div structure

x_div.d contains the data matrix

x_div.i contains the labels of the observations (lines)

x_div.v contains the labels of the variables (columns)

Examples

x = csv2div2('mycsvdata');

Authors


Report an issue
<< csv2div Data management dcsv2div >>