R: Create DSM Object From Various R Data Structures (wordspace)

as.dsm {wordspace} | R Documentation

## Create DSM Object From Various R Data Structures (wordspace)

### Description

Convert co-occurrence data from various in-memory formats to DSM object.

### Usage

    as.dsm(obj, ...)

### Arguments

`obj` | an object of a suitable class (for which a method implementation is available)
`...` | additional arguments passed on to the method implementation (see respective manpages for details)

### Value

An object of class `dsm`.

### Author(s)

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

### See Also

Currently available implementations: `as.dsm.TermDocumentMatrix`, `as.dsm.DocumentTermMatrix`

[Package wordspace version 0.2-6 Index]