When creating a function in R, we usually specify the number of argument like
function(x,y){
}
That means it takes only two arguments. But when the numbers of arguments are not specified (For one case I have to use two arguments but another case I have to use three or more arguments) how can we handle this issue? I am pretty new to programming so example will be greatly appreciated.
ellipsis