[R] c weirdness
Sam Steingold
sds at gnu.org
Wed Nov 7 21:53:08 CET 2012
is there a way to avoid c() appending ".0" and ".1" to seed?
--8<---------------cut here---------------start------------->8---
> c("nons"=1, "seed"=3)
nons seed ## good!
1 3
> c("nons"=1, "seed"=tab[1])
nons seed.0 ## don't want ".0"!
1 2344600
> c("nons"=1, "seed"=tab[2])
nons seed.1 ## don't want ".1"!
1 6843
> tab
0 1
2344600 6843
--8<---------------cut here---------------end--------------->8---
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://pmw.org.il
http://memri.org http://ffii.org http://openvotingconsortium.org
Islam is a religion of Peace. Its adherents will kill anyone who disagrees.
More information about the R-help
mailing list