Closed lucaslentini closed 12 years ago
when you paste it into an email it will get confusing, but in RStudio it should look like http://goo.gl/4VUog
is what you are seeing different from that?
On Thu, Aug 9, 2012 at 6:26 PM, lucaslentini notifications@github.comwrote:
Hi, Ricardo,
I was running some tests on the variables and I noticed that the tables that RStudio provides me are not organized! The commands work, but I can't understand the results I get!
Below, there is an example of a table I get. Is there a way to make this table more readable?
CrossTable(wouldyou,howmany,chisq=TRUE, missing.include=TRUE, format="SAS", prop.r=FALSE)
Cell Contents ------------------------- N Chi-square contribution N / Col Total N / Table Total Total Observations in Table: 145
| howmany wouldyou | 1 | 2 | 3 | HOW MANY PEOPLE WILL TAKE PART IN THIS STUDY? | NA | Row Total |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------| 1 | 17 | 13 | 2 | 0 | 86 | 118 | | 0.550 | 0.659 | 0.085 | 0.814 | 0.632 | | | 0.680 | 0.650 | 1.000 | 0.000 | 0.887 | | | 0.117 | 0.090 | 0.014 | 0.000 | 0.593 | |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------| 2 | 8 | 5 | 0 | 0 | 2 | 15 | | 11.333 | 4.152 | 0.207 | 0.103 | 6.433 | | | 0.320 | 0.250 | 0.000 | 0.000 | 0.021 | | | 0.055 | 0.034 | 0.000 | 0.000 | 0.014 | |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------| Would you participate in this study? | 0 | 0 | 0 | 1 | 0 | 1 | | 0.172 | 0.138 | 0.014 | 143.007 | 0.669 | | | 0.000 | 0.000 | 0.000 | 1.000 | 0.000 | | | 0.000 | 0.000 | 0.000 | 0.007 | 0.000 | |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------| NA | 0 | 2 | 0 | 0 | 9 | 11 | | 1.897 | 0.154 | 0.152 | 0.076 | 0.366 | | | 0.000 | 0.100 | 0.000 | 0.000 | 0.093 | | | 0.000 | 0.014 | 0.000 | 0.000 | 0.062 | |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------| Column Total | 25 | 20 | 2 | 1 | 97 | 145 | | 0.172 | 0.138 | 0.014 | 0.007 | 0.669 | |
-------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|
Statistics for All Table Factors Pearson's Chi-squared test
Chi^2 = 171.6125 d.f. = 12 p = 2.23344e-30
Warning message: In chisq.test(t, correct = FALSE, ...) : Chi-squared approximation may be incorrect
— Reply to this email directly or view it on GitHubhttps://github.com/rpietro/Infotrial/issues/2.
Actually, I am seeing something similar to when I paste it on the text box! I made a print screen! https://docs.google.com/drawings/d/1gZDDupBDBnwAhzu3f5C1VJbAorWoS35En6EwMez6IA4/edit
Thank you!
don't have access, but i don't understand why you would like to paste it somewhere. anyway, to get the format right try to convert the font to courier
On Sat, Aug 11, 2012 at 4:01 PM, lucaslentini notifications@github.comwrote:
Actually, I am seeing something similar to when I paste it on the text box! I made a print screen! https://docs.google.com/drawings/d/1gZDDupBDBnwAhzu3f5C1VJbAorWoS35En6EwMez6IA4/edit
Thank you!
— Reply to this email directly or view it on GitHubhttps://github.com/rpietro/Infotrial/issues/2#issuecomment-7669766.
Hi, Ricardo,
I was running some tests on the variables and I noticed that the tables that RStudio provides me are not organized! The commands work, but I can't understand the results I get!
Below, there is an example of a table I get. Is there a way to make this table more readable?
Total Observations in Table: 145
Statistics for All Table Factors
Pearson's Chi-squared test
Chi^2 = 171.6125 d.f. = 12 p = 2.23344e-30
Warning message: In chisq.test(t, correct = FALSE, ...) : Chi-squared approximation may be incorrect