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/quanteda documentation built on April 15, 2024, 7:59 a.m.