[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re changing variable types

From: Ben Pfaff
Subject: Re: re changing variable types
Date: Wed, 16 Feb 2011 10:04:13 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Debora Randall <address@hidden> writes:

> I am working on 0.7.5 PSPP version under X11 on a Mac OS 10.6.3.
> I have mistakenly encoded 6 of my variable types as string
> instead of numeric.  When I go to change the variable to
> numeric, I lose my data.  I need to be able to sum the
> variables, and it won't do that in string.

I think you should be able to fix this with RECODE:
        RECODE oldvar (CONVERT) INTO newvar.
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]