summary.twideology: Displays summary of estimated ideology

Description Usage Arguments Author(s) Examples

View source: R/twideology-functions.R

Description

Displays summary of estimated ideology

Usage

1
2
## S3 method for class 'twideology'
summary(object, ...)

Arguments

object

object of class 'twideology'

...

ignored

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## 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)
## summary
 summary(results)
## trace plot
 tracePlot(results, "theta")
## ideology plot
 plot(results)

## End(Not run)

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