Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur dans ae_table_soc(arm = NULL) #35

Closed
Ikram-Benchara opened this issue Nov 21, 2024 · 1 comment
Closed

Erreur dans ae_table_soc(arm = NULL) #35

Ikram-Benchara opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
bug 🐞 Something isn't working

Comments

@Ikram-Benchara
Copy link

Problème lors de l'utilisation de cette fonction : il faut au moins 2 bras pour l'utiliser.

@DanChaltiel DanChaltiel added bug 🐞 Something isn't working unsure ❔ Not sure about this labels Nov 21, 2024
@DanChaltiel
Copy link
Member

Idem, je ne peux pas reproduire le bug

library(grstat)
tm = grstat_example()
attach(tm)
ae_table_soc(ae, df_enrol=enrolres, arm=NULL)
#> # A tibble: 24 × 8
#>    soc           all_patients_G1 all_patients_G2 all_patients_G3 all_patients_G4
#>    <fct>         <glue>          <glue>          <glue>          <glue>         
#>  1 Injury, pois… 4 (8%)          1 (2%)          2 (4%)          1 (2%)         
#>  2 Neoplasms be… 4 (8%)          1 (2%)          2 (4%)          <NA>           
#>  3 Nervous syst… 1 (2%)          1 (2%)          6 (12%)         <NA>           
#>  4 Eye disorders 3 (6%)          1 (2%)          2 (4%)          1 (2%)         
#>  5 Hepatobiliar… 2 (4%)          3 (6%)          1 (2%)          1 (2%)         
#>  6 Infections a… 2 (4%)          2 (4%)          2 (4%)          <NA>           
#>  7 Skin and sub… <NA>            2 (4%)          3 (6%)          2 (4%)         
#>  8 Ear and laby… 2 (4%)          1 (2%)          1 (2%)          2 (4%)         
#>  9 Reproductive… 2 (4%)          4 (8%)          <NA>            <NA>           
#> 10 Respiratory,… 2 (4%)          <NA>            3 (6%)          1 (2%)         
#> # ℹ 14 more rows
#> # ℹ 3 more variables: all_patients_G5 <glue>, all_patients_NA <glue>,
#> #   all_patients_Tot <glue>

Created on 2024-11-21 with reprex v2.1.1

@DanChaltiel DanChaltiel removed the unsure ❔ Not sure about this label Nov 22, 2024
@DanChaltiel DanChaltiel self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants