InfinitySparseMatrix objects represent sparse matching problems with treated units as rows of a matrix and controls units as the columns of the matrix. The names of the units can be retrieved and set using these methods.
# S4 method for InfinitySparseMatrix
dimnames(x)# S4 method for InfinitySparseMatrix,list
dimnames(x) <- value
# S4 method for InfinitySparseMatrix,NULL
dimnames(x) <- value
A list with treated and control names.
An InfinitySparseMatrix object.
A list with two entries: the treated names and control names, respectively.