tests/testthat/_snaps/ard_survey_svychisq.md

ard_survey_svychisq() works

Code
  as.data.frame(dplyr::slice_head(dplyr::group_by(dplyr::select(
    ard_survey_svychisq(dclus2, variables = c(sch.wide, stype), by = comp.imp,
    statistic = "adjWald"), c(1:3, 5:6)), variable), n = 3))
Output
      group1 variable         context                     stat_label     stat
  1 comp.imp sch.wide survey_svychisq   Nominator Degrees of Freedom        1
  2 comp.imp sch.wide survey_svychisq Denominator Degrees of Freedom       39
  3 comp.imp sch.wide survey_svychisq                      Statistic  11.4203
  4 comp.imp    stype survey_svychisq   Nominator Degrees of Freedom        2
  5 comp.imp    stype survey_svychisq Denominator Degrees of Freedom       38
  6 comp.imp    stype survey_svychisq                      Statistic 4.480236


Try the cardx package in your browser

Any scripts or data that you put into this service are public.

cardx documentation built on Sept. 11, 2024, 9:12 p.m.