Learn R Programming

quanteda (version 1.1.1)

fcm-class: Virtual class "fcm" for a feature co-occurrence matrix

Description

The fcm class of object is a special type of dfm object with additional slots, described below.

Arguments

Slots

context

the context definition

window

the size of the window, if context = "window"

count

how co-occurrences are counted

weights

context weighting for distance from target feature, equal in length to window

tri

whether the lower triangle of the symmetric \(V \times V\) matrix is recorded

ordered

whether a term appears before or after the target feature are counted separately

See Also

fcm