Displaying 1 result from an estimated 1 matches for "structtabl".
Did you mean:
structtable
2007 May 05
1
How to latex tables?
...] "A" "B"
..$ Survival : chr [1:2] "Died" "Survived"
..$ Condition: chr [1:2] "Good" "Poor"
Here's what happens with latex(t2):
latex(t2)
Error in x[, j] : incorrect number of dimensions
Next, here's what happens with a structtable.
> tab=structable(Hospital ~ Condition + Survival, data=t2)
> tab
Hospital A B
Condition Survival
Good Died 6 8
Survived 594 592
Poor Died 57 8
Survived 1443 192
If I use l...