Learn R Programming

qdap (version 2.4.6)

weight: Weight a qdap Object

Description

Weight a word_proximity object.

Usage

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

Value

Returns a weighted list of matrices.

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.