For each knitr code chunk option below
carmeans1 <- colMeans(cars) 1 + 1
Description:
carmeans2 <- colMeans(cars) 1 + 1
# Hint: compare the difference between eval and results # exists() states whether an object exists # with the given name exists("carmeans1") # "created" with eval=FALSE exists("carmeans2") # "created" with results='hide'
Description:
plot(cars)
Description:
When adding multiple arguments to a code chunk, separate the arguments by a comma.
plot(cars)
Description:
# packages like to print messages when they load library(forecast)
Description:
warning("This function returns a warning!")
Description:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.