r - Hmisc Table Creation -


Just start with R and try to know when it comes to creating an "abstract table". I am used for custom tables in SPSS, and the crosstabel function in package gramolos reaches me close to where I should be; It is not to mention that it is easy for someone to navigate. R.

It seems that it seems that different summaries and latex (what I should do eventually).

My questions are: 1) Can you easily create a table below in the HMSIC page? 2) If so, can I interact with the variable (in 2 columns)? And finally 3) I can use P-val of the importance test (Chi Square).

Thanks in advance,

brock

  room content | ------------------------- | | Calculation | Line percentage | Column percentage | ------------------------- | Total comments in the table: 524 | ASK [, 23] ASK [, 4] | 1 | 2 | 3 | 4 | 5 | Line Total | ------------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | 0 | 76 | 54 93 | 46 | 54 323 | | 23.529% | 16.718% | 28.793% | 14.241% | 16.718% | 61.641% | | 54.286% | 56.250% | 63.265% | 63.889% | 78.261% | | ------------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | 1 | 64 | 42 | 54 26 | 15 | 201 | | 31.841% | 20.896% | 26.866% | 12.935% 7.463% | 38.359% | | 45.714% | 43.750% | 36.735% | 36.111% | 21.739% | | ------------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | Total Columns | 140 | 96 | 147 | 72 | 69 | 524 | | 26.718% | 18.321% 28.053% | 13.740% 13.168% | ------------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- |  

In the gmodels package there is a function named " CrossTable And for SAS output, it is very good for people who use it: Try this example:

  Library # run installation packages ("gmodels") If you have yet installed the package X & lt; - Sample (c ("up", "crosstable (x, y, format =" spss ")      / pre> 

Should be provided with an output, as you display on your question, very SPSS-y :)


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -