38#ifndef STK_DATAFRAMETOARRAY2D_H
39#define STK_DATAFRAMETOARRAY2D_H
106 for (
int i= firstRow;
i <= lastRow; ++
i)
134 for (
int i= firstRow;
i <= lastRow; ++
i)
In this file, we define the final class Array2D.
The DataFrameToArray2D class allow to export the data of some TYPE stored in a DataFrame to be export...
void eraseNAValues(bool byRow)
remove NA values from the Array2D
DataFrameToArray2D(DataFrame const &df)
Constructor.
~DataFrameToArray2D()
destructor
Array2D< Type > * p_data_
A pointer on the 2D Container the class will create.
DataFrame const & df_
A reference to the DataFrame we want to exprt.
void release()
release the Array2D.
Array2D< Type > * p_data()
Accessor.
void run()
run the export.
DataFrame is a List of Variable with the same number of rows.
IVariable *& elt(int const &i)
access to an element.
IVariable is an Interface class for all Variables classes.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
The namespace STK is the main domain space of the Statistical ToolKit project.
Arithmetic properties of STK fundamental types.
static Base::IdType returnType()