as.fcm: Coercion and checking functions for fcm objects

View source: R/fcm-methods.R

as.fcmR Documentation

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)

Arguments

x

a candidate object for checking or coercion to dfm

Value

as.fcm converts an input object into a fcm.


quanteda documentation built on Sept. 11, 2024, 6:08 p.m.