Learn R Programming

smappR (version 0.5)

traceplot.ideology: Displays trace plot for MCMC chains of ideology estimator

Description

Displays trace plot for MCMC chains of ideology estimator

Usage

traceplot.ideology(results, par = "theta")

Arguments

results
ideology estimation object from estimate.ideology function
par
parameter for which trace plot is to be displayed

Examples

Run this code
## 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.ideology(results, "theta")
# ## End(Not run)

Run the code above in your browser using DataLab