[R] Using '[' as a function

Wu Gong wg2f at mtmail.mtsu.edu
Tue Aug 3 20:56:37 CEST 2010


I have just learned from the R Language Definiation
##Operators are special functions
# Examples
"<-"(x,1:6)
"["(x,3)
"+"(3,5)
'-'(3,6)
'/'(3,6)
'*'(3,6)

-----
A R learner.
-- 
View this message in context: http://r.789695.n4.nabble.com/Using-as-a-function-tp2307292p2312424.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list