Description Usage Arguments Value Examples
Adds election result to a pollyvote opbject. The election date must be in format "
1 2 | ## S3 method for class 'pollyvote'
add_election_result(pv, election, data, ...)
|
pv |
[ |
election |
[ |
data |
[ |
... |
currently ignored. |
The pollyvote object with added prediction
1 2 3 | pv = create_pollyvote(perm_countries = "D")
data("election_result")
pv = add_election_result(pv, "BTW 2013", election_result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.