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.


Installation

To install, enter the command below:

devtools::install_github("mecarolme/calculum")

Don't forget to run the package.

library(calculum)

Use

Example:
This function sum two parameters.

sum(2, 3)

And that function subtract two parameters.

subtract(2, 3)

Parameters are defined by the user.



mecarolme/calculum documentation built on Dec. 21, 2021, 4:52 p.m.