[R] help with SAV file

David Winsemius dwinsemius at comcast.net
Mon Sep 21 01:14:05 CEST 2009


On Sep 20, 2009, at 6:23 PM, Rogerio Costa wrote:

>
> Hi,
>
> I am trying to do a statistical analysis of a SPSS data set, which  
> has 7 different parameters, 4 of which are Yes/No.
>
> When I try to select in one of the parameters all the rows with a  
> Yes it always gives me the same error
>

HOW?  (did you try?)

> : object 'Yes' not found
>
> although:
>
>> suburban
>   [1] No  No  Yes No  No  Yes No  Yes No  No  No  No  No  No  No   
> No  No  No
>  [19] No  No  Yes No  Yes Yes No  No  No  No  Yes No  Yes No  No   
> Yes Yes Yes
>  [37] Yes No  No  No  No  Yes Yes No  No  No  Yes No  No  Yes Yes  
> Yes Yes Yes
>  [55] Yes Yes No  No  No  Yes No  Yes Yes No  No  No  No  Yes No   
> No  No  Yes
>  [73] Yes Yes No  No  No  No  Yes No  Yes No  No  No  No  No  Yes  
> No  Yes Yes
>  [91] Yes Yes No  No  Yes No  Yes No  No  Yes Yes Yes No  Yes No   
> No  No  Yes
>
> it has a bunch of Yes/No
>
> how can I select these Yes?

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list