Learn R Programming

optmatch (version 0.9-3)

subdim: Returns the dimension of each valid subproblem

Description

Returns a list containing the dimensions of all valid subproblems.

Usage

## S3 method for class 'InfinitySparseMatrix':
subdim(x)

## S3 method for class 'matrix': subdim(x)

## S3 method for class 'BlockedInfinitySparseMatrix': subdim(x)

## S3 method for class 'optmatch.dlist': subdim(x)

Arguments

x
A distance specification to get the sub-dimensions of.

Value

  • A list of the dimensions of each valid subproblem. Any subproblems with 0 controls or 0 treatments will be ignored. The names of the entries in the list will be the names of the subproblems, if they exist.