This vignette explains how to use tp2 package

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Summary

This is the very detailed description of my tp2 package, similar to academic paper, as expected by R community for Vignette:

https://r-pkgs.org/vignettes.html

Load package

library(tp2)

Reading package data

x <- v
y <- m

x
y

Using package functions

dot_product(x,y)

dot_product(y,x)

product_by_element(x,y)

More Flowers

Vignette has bigger flowers than in README.md !

Path to image should be relative to Rmd file

flowers A better way of showing graphics in Rmd :

knitr::include_graphics("../inst/big_flowers.png")


alexey-larionov/tp2 documentation built on April 15, 2022, 8:35 p.m.