traceplot: Displays trace plot for MCMC chains of ideology estimator

Description Usage Arguments Author(s) Examples

Description

Displays trace plot for MCMC chains of ideology estimator

Usage

1
  traceplot(results, par = "theta")

Arguments

results

ideology estimation object from estimate.ideology function

par

parameter for which trace plot is to be displayed

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## download list of friends for a given user
 friends <- getFriends(screen_name = "p_barbera", oauth_folder="oauth")
## estimating ideology
 results <- estimate.ideology(friends)
## trace plot
 traceplot(results, "theta")

## End(Not run)

SMAPPNYU/smappR documentation built on May 9, 2019, 11:19 a.m.