knitr::opts_chunk$set(echo = TRUE)
# I cannot load the example dataset "fish_catch.rda" fish <- read.table("../fish.txt") # pull out the vector fish_test <- fish$V1 # call our function source(here::here("R","fish_count.R"))
fish_count(fish = fish_test, hist.plot = TRUE)
fish_count(fish = fish_test)
# fish_count(fish = as.list(fish_test)) # fish_count(fish = c(1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.