library(signalgraph) set.seed(60) g <- random_unfit_sg(8, 100) g$L2_pen <- 0.0389 fit <- fit_initialized_sg(g)
You can enable figure captions by fig_caption: yes in YAML:
output: rmarkdown::html_vignette: fig_caption: yes
Then you can use the chunk option fig.cap = "Your figure caption." in knitr.
You can write math expressions, e.g. $Y = X\beta + \epsilon$, footnotes^[A footnote here.], and tables, e.g. using knitr::kable().
knitr::kable(head(mtcars, 10))
Also a quote using >:
"He who gives up [code] safety for [code] speed deserves neither." (via)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.