as.fcm: Coercion and checking functions for fcm objects

Description Usage Arguments Value

View source: R/fcm-methods.R

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

1
as.fcm(x)

Arguments

x

a candidate object for checking or coercion to dfm

Value

as.fcm converts an input object into a fcm.


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.