ard_survey_svyranktest {cardx} | R Documentation |
ARD Survey rank test
Description
Analysis results data for survey wilcox test using survey::svyranktest()
.
Usage
ard_survey_svyranktest(data, by, variables, test, ...)
Arguments
data |
( |
by |
( |
variables |
( |
test |
( |
... |
arguments passed to |
Value
ARD data frame
Examples
data(api, package = "survey")
dclus2 <- survey::svydesign(id = ~ dnum + snum, fpc = ~ fpc1 + fpc2, data = apiclus2)
ard_survey_svyranktest(dclus2, variables = enroll, by = comp.imp, test = "wilcoxon")
ard_survey_svyranktest(dclus2, variables = enroll, by = comp.imp, test = "vanderWaerden")
ard_survey_svyranktest(dclus2, variables = enroll, by = comp.imp, test = "median")
ard_survey_svyranktest(dclus2, variables = enroll, by = comp.imp, test = "KruskalWallis")
[Package cardx version 0.2.0 Index]