Learn R Programming

quanteda (version 4.1.0)

as.fcm: Coercion and checking functions for fcm objects

Description

Convert an eligible input object into a fcm, or check whether an object is a fcm. Current eligible inputs for coercion to a dfm are: matrix, (sparse) Matrix and other fcm objects.

Usage

as.fcm(x)

Value

as.fcm converts an input object into a fcm.

Arguments

x

a candidate object for checking or coercion to dfm