Displaying 1 result from an estimated 1 matches for "tp2329632p2329632".
2010 Aug 18
4
Using objectname in function
...(0,0,0,1,1,1)
Wax<-c(1,0,1,0,1,0)
f<-function(x,y){ table(x,y) }
f(Monkey,Wax)
so that the printout is not
y
x 0 1
0 1 2
1 2 1
but
Wax
Monkey 0 1
0 1 2
1 2 1
--
View this message in context: http://r.789695.n4.nabble.com/Using-objectname-in-function-tp2329632p2329632.html
Sent from the R help mailing list archive at Nabble.com.