can function argument be logical argument? very simple example, something like myfunction <- function(x ==y) {x + y} why do i get this error?
Error: unexpected '==' in "myfunction <- function(x=="
to perfome similar function which ( vector == 10), myfunction argument should take the same form myfunction(vector ==10) ? Thank you for your time
