Skip to contents

Ideal-point recovery from unfolding output

Usage

morie_spatial_voting_ideal_point_recovery(X_r, X_s = NULL)

Arguments

X_r

Respondent coordinates.

X_s

Stimulus coordinates (unused; the respondent row IS the ideal point).

Value

Numeric matrix of respondent ideal points.

References

Armstrong et al. (2021), Section 4.5.

Examples

morie_spatial_voting_ideal_point_recovery(matrix(rnorm(6), 3, 2))
#>            [,1]       [,2]
#> [1,]  0.3219253 0.64289931
#> [2,] -0.7838389 0.08976065
#> [3,]  1.5757275 0.27655075