Dimensions of a DSM Object (wordspace)

Share:

Description

Retrieve the dimensions of the co-occurrence and/or score matrix represented by a DSM object.

Usage

1
2
## S3 method for class 'dsm'
dim(x)

Arguments

x

an object of class dsm

Details

Note that an assignment form (dim<-) for modifying dimensions is not provided.

Value

An integer vector of length 2, specifying the number of rows and the number of columns of the DSM matrix.

Author(s)

Stefan Evert (http://purl.org/stefan.evert)

See Also

dsm, check.dsm, print.dsm

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.