## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup--------------------------------------------------------------------
library(tp2)
## -----------------------------------------------------------------------------
x <- v
y <- m
x
y
## -----------------------------------------------------------------------------
dot_product(x,y)
dot_product(y,x)
product_by_element(x,y)
## ----out.width = '100%'-------------------------------------------------------
knitr::include_graphics("../inst/big_flowers.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.