dim_dsm: Dimensions of a DSM Object (wordspace)

dim.dsmR Documentation

Dimensions of a DSM Object (wordspace)

Description

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

Usage


## 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)

Stephanie Evert (https://purl.org/stephanie.evert)

See Also

dsm, check.dsm, print.dsm, dimnames.dsm

Examples

dim(DSM_TermTerm)

wordspace documentation built on Aug. 23, 2022, 1:06 a.m.