dimnames,InfinitySparseMatrix-method | R Documentation |
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 signature 'InfinitySparseMatrix'
dimnames(x)
## S4 replacement method for signature 'InfinitySparseMatrix,list'
dimnames(x) <- value
## S4 replacement method for signature 'InfinitySparseMatrix,NULL'
dimnames(x) <- value
x |
An InfinitySparseMatrix object. |
value |
A list with two entries: the treated names and control names, respectively. |
A list with treated and control names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.