Learn R Programming

wordspace (version 0.2-0)

rbind.dsm: Combine DSM Objects by Rows and Columns (wordspace)

Description

Combine conformable DSM matrices by rows or columns. Additional information in the DSM objects (such as marginal frequencies) is checked for consistency and updated automatically.

Warning: these functions will be revised in the next release of wordspace

Usage

# S3 method for dsm
rbind(…, term.suffix=NULL, deparse.level = 1)
  
  # S3 method for dsm
cbind(…, term.suffix=NULL, deparse.level = 1)

Arguments

one or more objects of class dsm, which must have the same feature dimensions (rbind) or target terms (cbind)

term.suffix

optional character vector specifying one suffix string for each DSM, which will be appended to row (rbind) or column (cbind) labels in order to make them unique

deparse.level

ignored

Value

if term.suffix is specified, row information of returned DSM object will be extended with variables orig.term specifying the original terms and orig.part specifying the original component model (identified by the corresponding entry from term.suffix)