knitr::opts_chunk$set(echo = TRUE)
Simple package for the R language class (how to create a package and
upload to github).
There are only two functions -> sum and subtract.
To install, enter the command below:
devtools::install_github("mecarolme/calculum")
Don't forget to run the package.
library(calculum)
Example:
This function sum two parameters.
sum(2, 3)
And that function subtract two parameters.
subtract(2, 3)
Parameters are defined by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.