Description Usage Arguments Value Examples

This function takes a model of the democracy scores and extracts the discrimination parameters, score cutpoints, and standard errors for all the variables involved, putting these into a tidy data frame.

1 |

`model` |
A |

`type` |
A string specifying the cutpoint type. Can be (an abbreviation of) "score" (for score cutpoints) or "discrimination" (for discrimination parameters). Default is "score." |

A tibble with either score cutpoints for each variable used to
construct the latent scores in terms of the latent variable (the default), or
discrimination parameters for each variable used to construct the index.
For the score cutpoints (`type = 'score'`

), the columns
`estimate`

, `pct975`

, and `pct025`

report the IRT
parametrization of the model estimates, a normalized measure in the same
scale as the latent variable.

1 2 3 | ```
# Replicate the official UDS 2011 release and calculate its cutpoints
replication_2011_model <- democracy_model(dplyr::matches("pmm"), verbose = FALSE)
cutpoints(replication_2011_model)
``` |

xmarquez/QuickUDS documentation built on March 21, 2018, 10:12 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.