I want to have a function with optional arguments, something like
retVal <- myFunction(mandetory_arguments, ...) {
// DO something with ...'s
}
I am new to R
and know that optional/additional arguments can be passed using ...
, but have no clue how it is used for further parsing. Is there a way for a function to have optional arguments?