[R] R like SPSS

Roger Bivand Roger.Bivand at nhh.no
Wed Aug 6 13:22:34 CEST 2003


On Wed, 6 Aug 2003, Gerhard Prade wrote:

> Hello all,
> 
> (Sorry, my bad english)
> i am searching a alternativ for spss that i can use with linux. I 
> studied sociology in germany and work sometimes for some hours in the 
> marketresearch. There they use statistics like anova and crosstabs. I 
> see that r can make anova or regressions but the most work in the 
> marketresearch is making crosstabs. These companys use something like 
> spss tables or gess to make tables for the customers. I read that r can 
> make with latex tables with xtabs or ftable and so on. But i dont 
> understand the use of all that. My question is: Is R a good alternativ 
> to make tables?

You will find the documentation fairly good. In particular, see Peter 
Dalgaard "Introductory Statistics with R", pp. 74-75. prop.table() gives 
the proportions of row or column totals. What "looks good" is subjective, 
and views vary on whether "looking good" is the same as being readable.

> The goal is to make something like that:
> 
> _____________________________________________________________________________________________________
> 
> Question 1.1
> What is your Age?
> -------------------------------------------------------------------------------------------------------------------------
>                                             PC-Users                    
>         Linux User                    Windows User
>                                         yes               |     no    
>      ||   yes            no                    yes            no
> ----------------------------------------------------------------------------------------------------------
> 0-10 years                       4    2%         |     1 1%     ||     
> xx          and so on
>                                                             |           
>        ||
> 11-20 years                     8    4%         |     2    2%  ||   
>  xx            and so on
>                                                             |           
>        ||
> 21-30 years                    8    4%          |                  ||   
>  xx  
>                                                             |           
>        ||   
> 31 years an older            180    90%    |                   ||    xx
>                                                             |           
>        ||
> not answerd                    0        0%      |                   ||
> -----------------------------------------------------------------------------------------------------------
> 
>                                        200   100%        100 100%
> --------------------------------------------------------------------------------------------------------------------------
> Company XY                                                            
>     Customer XY
> _____________________________________________________________________________________Page 
> 7 of 10
> 
> 
> 
> I can do that with spss or gess, but can i do that with R?
> Is it looks good with R?
> 
> 
> Greatings, Gerhard
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list