plot.twideology: Displays estimated ideology with other reference ideal points

Description Usage Arguments Author(s) Examples

View source: R/twideology-functions.R

Description

Displays estimated ideology with other reference ideal points

Usage

1
2
## S3 method for class 'twideology'
plot(x, ...)

Arguments

x

object of class 'twideology'

...

ignored

Author(s)

Pablo Barbera P.Barbera@lse.ac.uk

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
## Creating OAuth token
 my_oauth <- list(consumer_key = "CONSUMER_KEY",
   consumer_secret = "CONSUMER_SECRET",
   access_token="ACCESS_TOKEN",
   access_token_secret = "ACCESS_TOKEN_SECRET")
## download list of friends for a given user
 friends <- getFriends(screen_name = "p_barbera", oauth=my_oauth)
## estimating ideology
 results <- estimateIdeology(user, friends)
## trace plot
 tracePlot(results, "theta")
## ideology plot
 plot(results)

## End(Not run)

lingeringcode/tweetscoresmod documentation built on Feb. 18, 2020, 5:28 p.m.