rescale: Rescale Estimated Document Positions

Description Usage Arguments Details Value Author(s)

View source: R/rescale.R

Description

Linearly rescales estimated document positions on the basis of two control points.

Usage

1
rescale(object, ident = c(1, -1, 10, 1))

Arguments

object

fitted wordfish or wordscores object

ident

two documents indexes and and their desired new positions

Details

The rescaled positions set document with index ident[1] to position ident[2] and docuemnt with index ident[3] to position ident[4]. The fitted model passed as the first argument is not affected.

Value

A data frame containing the rescaled document positions with standard errors if available.

Author(s)

Will Lowe


conjugateprior/austin documentation built on May 11, 2021, 2:46 a.m.