My1Pck Vignette.1

Introduction

My1Pck is my personal package. It contains one handy function that I find personally (!) very useful!

Fisrt instal and load the package by running

devtools::install_github("elghouch/My1Pck")
require("My1Pck")

Once done, follow this tutorial to get used to the different functionalities of this wonderful package.

Example 1

If you want to get the sum of 1 and 2 just do

add(1,2)
#> [1] 1 2

Example 2

If you want to get the sum of 1 and 2 and an accompanying plot just add the option plot = TRUE like this

add(1,2, plot = TRUE)

#> [1] 1 2