Weight a word_proximity object.
weight(x, type = "scale", ...)
A qdap object with a weight method.
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.
Returns a weighted list of matrices.