On Thu, 29 Oct 2009 09:05:22 -0400 Duncan Murdoch <murd...@stats.uwo.ca> 
wrote:
> You want the unary - operator.  For example,
> 
> -x

It even has a nice help page:

?"-"

-- 
Karl Ove Hufthammer

______________________________________________
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