dimnames-InfinitySparseMatrix: Get and set dimnames for InfinitySparseMatrix objects

Description Usage Arguments Value

Description

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.

Usage

1
2
3
4
5
6
7
8
## 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

Arguments

x

An InfinitySparseMatrix object.

value

A list with two entries: the treated names and control names, respectively.

Value

A list with treated and control names.


optmatch documentation built on May 29, 2017, 8:49 p.m.

Search within the optmatch package
Search all R packages, documentation and source code