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

?cor.test

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

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.