Description Usage Arguments Value Author(s) Examples
Attach levels "no" and "yes" to a 0-1 vector and turn it into a factor.
1 | attachYesNo(v)
|
v |
Vector. |
Factor with the corresponding levels.
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
1 2 3 | set.seed(1977)
vec <- round(runif(10, 0, 1))
attachYesNo(vec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.