Returns the first
n rows and first
k columns of the co-occurrence matrix stored in a
If a scored matrix is available, it is automatically used; otherwise the raw frequencies are shown.
## S3 method for class 'dsm' head(x, n = 6L, k = n, ...)
an object of class
a single integer specifying the number of rows to extract
a single integer specifying the number of columns to extract (default: same as number of rows)
all other arguments are silently ignored
Note that in contrast to other
head methods, negative values of
k) are not supported. There is also currently no corresponding
A dense or sparse co-occurrence matrix with
n rows and
Stephanie Evert (https://purl.org/stephanie.evert)
head for the generic method.
head(DSM_TermTerm, Inf, Inf) # show full co-occurrence matrix head(DSM_TermTerm, 3, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.