Description Usage Arguments Value Author(s)
For Presidentti2012 candidate answers, form numerical rating in [0, 1] for the answer options (rougly corresponding to conservative-liberal axis)
1 2 | Presidentti2012CandidateAnswers2Numeric(candidates,
questions, type = "rate")
|
candidates |
candidate information as given by candidates <- GetPresidentti2012(category="candidates", API=API) |
questions |
questions returned by GetPresidentti2012(category="questions", API=API) |
type |
return the answer rating as integers ("integer") 0, 1, 2, ... or as rates between [0,1]. |
matrix A matrix: each row corresponds to a candidate. For each candidate, the answer options (columns) are rated within [0, 1]
Leo Lahti sorvi-commits@lists.r-forge.r-project.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.