scale_weighted only apply to
data.frames with code percentages, the function mp_scale makes them
applies them to a ManifestoCorpus or ManifestoDocument.document_scaling creates a function applicable to
a ManifestoDocument from the scaling function
corpus_scaling creates a function applicable to
a ManifestoCorpus from the scaling function
mp_scale(data, scalingfun = rile,
scalingname = as.character(substitute(scalingfun)),
recode_v5_to_v4 = (scalingname == "rile"), ...)document_scaling(scalingfun, returndf = FALSE, scalingname = "scaling",
recode_v5_to_v4 = FALSE, ...)
corpus_scaling(scalingfun, scalingname = "scaling", ...)
ManifestoDocument or ManifestoCorpus with coding
annotations or a data.frame with category percentagesscale_weighted.scalingfun,
or count_codesscale