knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The {pets}
package was designed to allow people to express their feelings about pets. At present, the package is rather cat-centric, in that it only contains one function: cats()
.
To use {pets}
, first load the package and then call the function cats()
with a logical/boolean argument. For example,
## load pets package library(pets) ## if you love cats cats(TRUE) ## if you're not a big fan of cats cats(FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.