##
## [quickgetfirst.r]
##
## author : Amanda Shih
## project : hrugrhelpr
## createdate : 06.25.2016
##
## description:
## return the first item in a vector
##
## version: 0.01
## changelog:
##
get_first <- function(vec) {
vec[1]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.