Skip to content
Prev 336870 / 398506 Next

dependent column(s) in data frame

On Feb 19, 2014, at 11:19 AM, PQuery wrote:

            
with(df, table(status=status, comb23 = cond.2&cond.3)  )
      comb23
status FALSE TRUE
     0    33    1
     1    11    5

The more general approach to analyzing binary responses is logistic regression.

-- David.
David Winsemius
Alameda, CA, USA