Skip to content

Error with ctable #212

@raffaelemancuso

Description

@raffaelemancuso
> summarytools::ctable(
   joined$plat,
   joined$pdf,
   prop = "t"
 )
Error in match(x, table, nomatch = 0L) : 
  'match' requires vector arguments
Warning in parse_call(mc = match.call(), var = "y", var_label = FALSE, caller = "ctable") :
  metadata extraction terminated unexpectedly; inspect results carefully
Cross-Tabulation, Total Proportions  
plat * joined$pdf  
Data Frame: joined  

------- ------------ ------------ ------------- --------------
          joined$pdf        FALSE          TRUE          Total
   plat                                                       
  FALSE                68 (23.0%)   191 (64.5%)   259 ( 87.5%)
   TRUE                 4 ( 1.4%)    33 (11.1%)    37 ( 12.5%)
  Total                72 (24.3%)   224 (75.7%)   296 (100.0%)
------- ------------ ------------ ------------- --------------

Here is the data file in RDS format:

joined.dmp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions