Hi,
I'm having difficulty with getting a table to show with
multiple rows and columns. Below is the commands that I've typed in and
errors that I am getting. Thank you.
Laura
Table trying to enter:
Diet: Binger-yes: Binger-No: Total:
None 24 134
Hi Laura,
If you type
diet
you will see that it has 4 columns and 2 rows. Since it has only 2
rows you cannot give it rownames of length 4.
Best,
Ista
On Tue, Mar 1, 2011 at 2:17 AM, Laura Clasemann violagirl...@msn.com wrote:
Hi,
I'm having difficulty with getting a table to show with
Hi Laura,
May be yo meant:
diet - matrix(c(24,134,9,52,23,72,12,15), ncol = 2, byrow = TRUE) # note
ncol = 2
rownames(diet) - c(none, healthy, unhealthy, dangerous)
colnames(diet) - c('Yes', 'No')
diet
HTH,
Jorge
On Mon, Feb 28, 2011 at 9:17 PM, Laura Clasemann wrote:
Hi,
I'm having
3 matches
Mail list logo