Re: [R] summary vs anova

2011-12-19 Thread peter dalgaard
On Dec 19, 2011, at 15:09 , Brent Pedersen wrote: > Hi, I'm sure this is simple, but I haven't been able to find this in TFM, It's not _that_ simple. You likely need TFtextbook rather than TFM. Most (but not all) will go into at least some detail of coding categorical variables using dummy var

Re: [R] summary vs anova

2011-12-19 Thread David Winsemius
On Dec 19, 2011, at 9:09 AM, Brent Pedersen wrote: Hi, I'm sure this is simple, but I haven't been able to find this in TFM, say I have some data in R like this (pasted here: http://pastebin.com/raw.php?i=sjS9Zkup): One of the reason this is not in TFM is that these are questions that sho

[R] summary vs anova

2011-12-19 Thread Brent Pedersen
Hi, I'm sure this is simple, but I haven't been able to find this in TFM, say I have some data in R like this (pasted here: http://pastebin.com/raw.php?i=sjS9Zkup): > head(df) gender age smokes diseaseY 1 female 65 ever control 0.18 2 female 77 never control 0.12 3 male 40