Hello,
At the moment, I try to make the package with several function.
In my function I have 5 variables and I would like to know how I can put a default value of the variable when I omitted to put the variable when I call the function.
toto <- function(format, tab, seuil, taille, varf){ ...}
For example : when I call my function with only 4 variables
toto <- function(tab, seuil, taille, varf){ ...}
It miss the format variable.
Have you an idea of how I can put default value on format variable?
I want the default variable to be set to 1 i.e. format = 1
Thanks in advance