Formats the data and make a call to InfinitySparseMatrix-class
makeInfinitySparseMatrix(
data,
cols,
rows,
colnames = NULL,
rownames = NULL,
dimension = NULL,
call = NULL
)an InfinitySparseMatrix object
the input numeric vector of cost
the input numeric vector corresponding to control units
the input numeric vector corresponding to treated units
(optional) vector containing names for all control units
(optional) vector containing names for all treated units
(optional) vector of number of treated and control units
(optional) funtion call used to create the InfinitySparseMatrix