Error in match.arg(alternative)

what does this mean?

in R you can read documentation by writing the function name in the console preceeded by a question mark


the function is intended to be used to compare two variables, not more than two. by passing more paramaters the additional ones over the first two are being interpreted as other parameters that the function can absorb such as the alternative param