Weight a qdap Object

Usage

weight(x, type = "scale", ...)

Arguments

x
A qdap object with a weight method.
type
A weighting type of: c("scale_log", "scale", "rev_scale", "rev_scale_log", "log", "sqrt", "scale_sqrt", "rev_sqrt", "rev_scale_sqrt"). The weight type section name (i.e. A_B_C where A, B, and C are sections) determines what action will occur. log will use log, sqrt will use sqrt, scale will standardize the values. rev will multiply by -1 to give the inverse sign. This enables a comparison similar to correlations rather than distance.
...
ignored.

Weight a qdap Object

Value

Returns a weighted list of matrices.

Description

Weight a word_proximity object.

Note

A constant of .000000000001 is added to each element when log is used to deal with the problem of log(0).