Learn R Programming

lineup (version 0.34-1)

subset.lineupdist: Subsetting distance matrix

Description

Pull out a specified set of rows and columns from a distance matrix calculated by distee or disteg.

Usage

## S3 method for class 'lineupdist':
subset(x, rows, cols, \dots)
## S3 method for class 'lineupdist':
[(x, rows, cols)

Arguments

x
A distance matrix object as obtained from distee or disteg.
rows
Optional vector of selected rows.
cols
Optional vector of selected columns.
...
Ignored at this point.

Value

  • The input distance matrix object, but with only the specified subset of the data.

See Also

disteg, distee, pulldiag