title: Migrating a logistic regression from R to rpy2
body: <p>I'm trying to use ryp2 to do a logistic regression. I managed to execute it, but don't know how to extract the coefficients and p-values from the result. I don't want to print the values on the screen bu create a function to use them independently.</p>
  
  <pre><code>import rpy2.robjects as ro
  mydata = ro.r['data.frame']
  read = ro.r['read.csv']
  head = ro.r['head']
  summary = ro.r['summary']
  
  mydata = read("http://www.ats.ucla.edu/stat/data/binary.csv")
  #cabecalho = head(mydata)
  formula = 'admit ~ gre + gpa + rank'
  mylogit = ro.r.glm(formula=ro.r(formula), data=mydata,family=ro.r('binomial(link="logit")'))
  #What NEXT?
  </code></pre>