2

Report Screenshot

I'm converting a report in SPSS to R. In the final step I need to create a table which looks like this:

I have tried using expss package and I can get table output but I'm not able to create variables having variables inside them in a table.

The SPSS Code for the table is Code in SPSS

jake2389
  • 1,166
  • 8
  • 22
Rohan Jain
  • 25
  • 6
  • The Count and SUM columns in the Colour categories is if the cases are duplicated or not. If its duplicated it will be in column count and if not then in column sum. I have a varibale in the data set which is 1 if its unique and 0 if its duplicated – Rohan Jain Sep 06 '19 at 17:55
  • I don't quite understand what do you mean by 'variables having variables inside them'. If it is nesting like 'a > b' then `expss` equivalent is `a %nest% b`. – Gregory Demin Sep 06 '19 at 21:41
  • Yes it is nesting and I tried it as well but not sure as to implement it correctly as im not getting the output I get in spss – Rohan Jain Sep 09 '19 at 13:51
  • Please let me know if you figure this out or If you need something else as im still stuck here @GregoryDemin – Rohan Jain Sep 09 '19 at 18:10
  • It will be very helpful if you provide sample of your data. – Gregory Demin Sep 09 '19 at 19:44

0 Answers0