Description Usage Arguments Value Examples
Creates an object of class iRc_category
.
1 |
name |
Character string, name of the category. |
... |
Objects of class |
An object of class iRc_category
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | q1 <- ask(
question=list(text="What is Crichton's nick name for Chiana?"),
answer=list(html=strong("Pip"))
)
q2 <- ask(
question=list(text="What is Crichton's nick name for his gun?"),
answer=list(html=strong("Winona"))
)
q3 <- ask(
question=list(text="What is a famous quote from Rygel?"),
answer=list(html=strong("Hail, prince of the obvious!"))
)
q4 <- ask(
question=list(text="What is the Nebari Resistance fighting against?"),
answer=list(html=strong("The Establishment"))
)
# now make a category
farscape <- category(name="Farscape", q1, q2, q3, q4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.