title: Multiple univariate Cox regression with tbl_uvregression() function from {gtsummary}
body: <p><strong>I can not find how to perform multiple univariate Cox regression with tbl_uvregression() function from {gtsummary}.</strong></p>
  <p>Here is were I am so far :</p>
  <ul>
  <li>performed multiple univariate logistic regression, with:</li>
  </ul>
  <pre><code>tbl_uvregression(dataSOF, method = glm, y = death, method.args = list(family = binomial), exponentiate = T)
  </code></pre>
  <ul>
  <li>performed univariate cox regression, with :</li>
  </ul>
  <pre><code>coxph(Surv(survival_days, survival_status) ~ age, data = dataSOF) %&gt;%
    tbl_regression(exponentiate = TRUE)
  </code></pre>
  <ul>
  <li>performed multivariate cox regression, with:</li>
  </ul>
  <pre><code>coxph(Surv(survival_days, survival_status) ~ age+disease, data = dataSOF) %&gt;%
    tbl_regression(exponentiate = TRUE)
  </code></pre>
  <p><strong>But I can not get multiple univariate cox regression...</strong></p>
  <p>I tried :</p>
  <pre><code>tbl_uvregression(
    dataSOF,
    method=coxph,
    y = Surv(time = survival_days, event = survival_status),
    method.args = list(family = binomial),
    exponentiate = T
  )
  </code></pre>
  <p>But I get the following error:</p>
  <pre><code>Erreur : Problem with `mutate()` input `model`.
  x Argument family not matched
  i Input `model` is `map(...)`.
  Run `rlang::last_error()` to see where the error occurred.
  </code></pre>
  <p><strong>The data I am working with:</strong></p>
  <pre><code>dput(dataSOF[1:10, ])
  structure(list(ID = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), age = c(62, 
  57, 67, 74, 71, 67, 46, 71, 53, 63), disease = c(0, 1, 1, 1, 
  1, 0, 1, 0, 0, 0), death = c(0, 0, 1, 0, 1, 1, 0, 1, 0, 1), censored_survival_days = c(60, 
  60, 60, 60, 60, 60, 60, 60, 60, 60), censored_survival_status = c(1, 
  1, 1, 1, 1, 1, 1, 1, 1, 1)), row.names = c(NA, -10L), class = c(&quot;tbl_df&quot;, 
  &quot;tbl&quot;, &quot;data.frame&quot;))
  </code></pre>
  <p>Any advices?
  Huge thanks in advance!</p>
  <hr />
  <h2>UPDATE</h2>
  <p>Another reproductible example:</p>
  <pre><code>dataAAV3 &lt;- structure(list(age = c(62, 57, 67, 46, 53, 63, 60, 77, 69, 86
  ), sexe = c(1, 1, 1, 1, 1, 1, 0, 1, 0, 1), survie_sans_deces_cens5 = c(60, 
                                                                         60, 60, 60, 60, 60, 60, 20, 60, 8), status_deces_cens5 = structure(c(1L, 
                                                                                                                                              1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L), .Label = c(&quot;1&quot;, &quot;2&quot;), class = &quot;factor&quot;)), row.names = c(NA, 
                                                                                                                                                                                                                                           -10L), class = c(&quot;tbl_df&quot;, &quot;tbl&quot;, &quot;data.frame&quot;))```
  
  
  </code></pre>
  <pre><code>library(gtsummary)
  #&gt; Warning: le package 'gtsummary' a été compilé avec la version R 4.0.3
  tbl_uvregression(
    dataAAV3,
    method=coxph,
    y = Surv(time = survie_sans_deces_cens5, event = status_deces_cens5),
    exponentiate = TRUE)
  #&gt; Warning in .select_to_varnames(select = !!y, data = data, arg_name = &quot;y&quot;):
  #&gt; redémarrage de l'évaluation d'une promesse interrompue
  #&gt; Error: Specify one, and only one, of `x` and `y`. This function can
  #&gt;          create univariate regression models holding either a covariate or outcome
  #&gt;          constant.
  Created on 2021-03-04 by the reprex package (v1.0.0)
  </code></pre>