[R] type conversion
Roger Mason
rmason at esd.mun.ca
Fri Oct 19 12:39:57 CEST 2007
Hello Moshe,
Moshe Olshansky <m_olshansky at yahoo.com> writes:
> Try
> x <- as.integer(Membersind06$actual06)
> and then
> x/10
I think I tried that without success (but I tried so many things, that
one may have escaped me). In the meantime I changed the database
relation to a numeric type [numeric(10,2)] because I discovered that
the "money" type will be (or has already been) dropped from
forthcoming versions of postgresql.
Thanks for you help,
Roger
More information about the R-help
mailing list