README.md

package calculum

carol medeiros 03/04/2021

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)
## [1] 5

And that function subtract two parameters.

subtract(2, 3)
## [1] -1

Parameters are defined by the user.



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