library(My1Pck)
This is my personal package. It contains one handy function that I find personally very useful!
If you want to get the sum of 1 and 2 just do
1
2
add(1,2) #> [1] 1 2
If you want to get the sum of 1 and 2 and an accompanying plot just add the option plot = TRUE like this
plot = TRUE
add(1,2, plot = TRUE)
#> [1] 1 2