Hi friends, I am aware of the function "-"() which acts as minus in ordinary 
computations. For example:
 
> "-"(3, 1)
[1] 2

However what is the meaning of 
> "-"(3)
[1] -3

I was expecting R to generate some error as it does for "*"(3). What is the 
logic for that calculation?
 
Thanks,


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to