\newcommand{\data}{\boldsymbol{y}} % data definition \newcommand{\bfix}{\boldsymbol{z}} % Model constants/fixed values i.e. catch definition \newcommand{\bparam}{\boldsymbol{\theta}} % Fixed effect parameters \newcommand{\branp}{\boldsymbol{u}} % latent variable \newcommand{\boldX}{\boldsymbol{X}} \newcommand{\bhypp}{\boldsymbol{\psi}} % prior parameters \newcommand{\bvarp}{\boldsymbol{\xi}} % observation variance parameters
Load library and check version number
library(stockassessmenthelper) packageVersion("stockassessmenthelper")
Add other packages that are used throughout the book
library(dplyr) library(tidyr) library(reshape2) library(ggplot2)
# automatically create a bib database for R packages knitr::write_bib(c( .packages(), 'bookdown', 'knitr', 'rmarkdown' ), 'packages.bib')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.