title: Multivariate logistic regression in r?
body: <p>How does one perform a multivariate (multiple dependent variables) logistic regression in R?</p>
  
  <p>I know you do this for linear regression, and this works</p>
  
  <pre><code>form &lt;-cbind(A,B,C,D)~shopping_pt+price
  mlm.model.1 &lt;- lm(form, data = train)
  </code></pre>
  
  <p>But when I try the following (see below) for logistic regression, it does not work.</p>
  
  <pre><code>model.logistic &lt;- glm(form, family=binomial(link=logit), data=train)
  </code></pre>
  
  <p>Thank you for your help.</p>
  
  <p>To add, it appears that my code to do this with linear models above may not be correct. I am trying to what is outlined in this document, which some might find useful.</p>
  
  <p><a href="ftp://ftp.cis.upenn.edu/pub/datamining/public_html/ReadingGroup/papers/multiResponse.pdf" rel="noreferrer">ftp://ftp.cis.upenn.edu/pub/datamining/public_html/ReadingGroup/papers/multiResponse.pdf</a></p>