v0.2.0
·
229 commits
to main
since this release
Breaking Changes
- Updated function names to follow the pattern
ard_<pkgname>_<fnname>(). This change is immediate: previous functions names have not been deprecated. (#106)
ard_ttest() -> ard_stats_t_test()
ard_paired_ttest() -> ard_stats_paired_t_test()
ard_wilcoxtest() -> ard_stats_wilcox_test()
ard_paired_wilcoxtest() -> ard_stats_paired_wilcox_test()
ard_chisqtest() -> ard_stats_chisq_test()
ard_fishertest() -> ard_stats_fisher_test()
ard_kruskaltest() -> ard_stats_kruskal_test()
ard_mcnemartest() -> ard_stats_mcnemar_test()
ard_moodtest() -> ard_stats_mood_test()New Features
- The
ard_categorical_ci(value)argument has been added. Previously, only binary variables (0/1 or TRUE/FALSE) could be summarized. When a value is not supplied, each level of the variable is summarized independently. By default, binary variables will have the1/TRUElevel summarized. - Added the following functions for calculating Analysis Results Datasets (ARDs).
ard_stats_aov()for calculating ANOVA results usingstats::aov(). (#3)ard_stats_anova()for calculating ANOVA results usingstats::anova(). (#12)ard_stats_mcnemar_test_long()for McNemar's test from long data usingstats::mcnemar.test().ard_stats_prop_test()for tests of proportions usingstats::prop.test(). (#64)ard_stats_t_test_onesample()for calculating one-sample results.ard_stats_wilcox_test_onesample()for calculating one-sample results.ard_stats_oneway_test()for calculating ANOVA results usingstats::oneway.test(). (#3)ard_aod_wald_test()for calculating Wald Tests for regression models usingaod::wald.test(). (#84)ard_car_anova()for calculating ANOVA results usingcar::Anova(). (#3)ard_car_vif()for calculating the variance inflation factor usingcar::vif(). (#10)ard_effectsize_cohens_d(),ard_effectsize_paired_cohens_d(),ard_effectsize_hedges_g(), andard_effectsize_paired_hedges_g()for standardized differences usingeffectsize::cohens_d()andeffectsize::hedges_g(). (#50)ard_emmeans_mean_difference()for calculating the least-squares mean differences using the {emmeans} package. (#34)ard_smd_smd()for calculating standardized mean differences usingsmd::smd(). (#4)ard_survival_survfit()for survival analyses usingsurvival::survfit(). (#43)ard_continuous.survey.design()for calculating univariate summary statistics from weighted/survey data using many functions from the {survey} package. (#68)ard_categorical.survey.design()for tabulating summary statistics from weighted/survey data using many functions from the {survey} package. (#140)ard_dichotomous.survey.design()for tabulating dichotomous summary statistics from weighted/survey data using many functions from the {survey} package. (#2)ard_missing.survey.design()for tabulating missing summary statistics from weighted/survey data using many functions from the {survey} package. (#2)ard_attributes.survey.design()for summarizing labels and attributes from weighted/survey data using many functions from the {survey} package.ard_survey_svychisq()for weighted/survey chi-squared test usingsurvey::svychisq(). (#72)ard_survey_svyttest()for weighted/survey t-tests usingsurvey::svyttest(). (#70)ard_survey_svyranktest()for weighted/survey rank tests usingsurvey::svyranktest(). (#71)ard_survival_survdiff()for creating results fromsurvival::survdiff(). (#113)ard_regression_basic()for basic regression models. The function focuses on matching model terms to underlying variables names. (#46)
- Updated functions
ard_stats_t_test(),ard_stats_paired_t_test(),ard_stats_wilcox_test(),ard_stats_paired_wilcox_test(),ard_stats_chisq_test(),ard_stats_fisher_test(),ard_stats_kruskal_test(),ard_stats_mcnemar_test(), andard_stats_mood_test()to accept multiple variables at once. Independent tests are calculated for each variable. Thevariableargument is renamed tovariables. (#77) - Updated
ard_stats_t_test()andard_stats_wilcox_test()to no longer require thebyargument, which yields central estimates with their confidence intervals. (#82) - Added model construction helpers,
construct_model(),reformulate2(),bt(), andbt_strip(). - Imported cli call environment functions from
https://github.com/ddsjoberg/standalone/blob/main/R/standalone-cli_call_env.Rand implementedset_cli_abort_callin user-facing functions. (#111)
What's Changed
- Initial setup by @ddsjoberg in #8
- Adding t-test ARDs by @ddsjoberg in #16
- Small pkg prep by @ddsjoberg in #17
- Small pkg prep by @ddsjoberg in #18
- Adding Wilcoxon Rank-Sum Tests by @ddsjoberg in #25
- Adding
ard_chisqtest()by @ddsjoberg in #22 - adding
ard_fishertest()by @ddsjoberg in #21 - adding proportion CIs by @ddsjoberg in #9
- Adding
ard_regression()by @ddsjoberg in #26 - Closes #38 adding Kruskal-Wallis test by @zdz2101 in #45
- {cards} arg rename updates by @ddsjoberg in #53
- Pkgdown workflow test by @ddsjoberg in #55
- McNemar's statistical test addition:
ard_mcnemartestby @Melkiades in #51 - Closes #52 for moods test by @zdz2101 in #52
- general renaming by @ddsjoberg in #58
- Updating checks file by @ddsjoberg in #60
- Adds ard_regression_basic(). by @rparmm in #62
- Cohen's D and Hedge's G ARD Functions by @ayogasekaram in #57
- Adding
ard_proptest()by @ddsjoberg in #64 - Adding
ard_smd()by @ddsjoberg in #65 - Adding
ard_car_anova()by @ddsjoberg in #67 - Closes #49 add formulas/document the methods of CI interval calculation in LaTeX by @zdz2101 in #63
- Closes #10 add
ard_vif()by @zdz2101 in #61 - Updated
ard_wilcoxtest()to allow multiple variables by @ddsjoberg in #81 - update
ard_cohens_dfunction to accept multiple variables by @ayogasekaram in #87 - update
ard_hedges_gandard_paired_hedges_gby @ayogasekaram in #88 - update
ard_moodtestfunction to accept multiple variables by @ayogasekaram in #90 - add
ard_svychisq()function by @ayogasekaram in #83 - Updated
ard_ttest()to accept multiple variables. by @ddsjoberg in #79 - adding
ard_svyttest()by @ddsjoberg in #75 - Adding
ard_svycontinuous()for weighted continuous variable summaries by @ddsjoberg in #69 ard_smd()for weighted data by @ddsjoberg in #74- update
ard_chisqtestto accept multiple vars. by @ayogasekaram in #93 - update
ard_fischertest()to accept multiple vars by @ayogasekaram in #94 - update
ard_mcnemartest()andard_kruskaltest()by @ayogasekaram in #96 - update
ard_proptest()andard_smd()by @ayogasekaram in #98 - Closes #15 adds CI for univariate/single statistics by @zdz2101 in #82
- fix bugs with cohens_d/hedges_g by @zdz2101 in #102
- Closes #71 ard for svyranktest by @zdz2101 in #100
- Add ARD function for
survfitobjects by @edelarua in #59 - add
ard_aovandard_onewaytestby @ayogasekaram in #44 - rename functions with new package conventions. by @ayogasekaram in #110
- add
ard_aod_wald_testfunction by @ayogasekaram in #99 - Adding
ard_stats_anova()by @ddsjoberg in #107 - Use cli call env functions by @edelarua in #112
- Add
@examplesIfto internal examples where applicable by @edelarua in #120 - update context after renaming ard_* functions by @ayogasekaram in #123
- reorganize pkgdown by @ayogasekaram in #122
- Adding
ard_survival_survdiff()by @ddsjoberg in #119 - Bumping broom.helpers required version to 1.15.0 (first version with official support for mmrm) by @ddsjoberg in #124
- Adding model construction helpers by @ddsjoberg in #121
- added
construct_model.survey.design()method by @ddsjoberg in #128 - adding long mcnemar by @ddsjoberg in #129
- Adding
ard_emmeans_mean_difference()by @ddsjoberg in #130 - Remove all-NA
variable_levelcolumn from regression ARD output by @edelarua in #135 - Closes #116 Check for other package messaging in our snapshots by @zdz2101 in #125
- Closes #104 address use of
reformulate()for nonsyntactic names by @zdz2101 in #138 - Workflow propagation by @walkowif in #76
- cardx readme update by @ayogasekaram in #137
- Adding variable/group columns to
ard_stats_oneway_test()results by @ddsjoberg in #141 - Closes #133 proliferate
conf.levelargument as appropriate across package by @zdz2101 in #142 - adding CIs to SMDs by @ddsjoberg in #143
- Adding method to effectsize pkg ard functions by @ddsjoberg in #144
- removing missing values before calculating values to avoid note about… by @ddsjoberg in #145
- Patch for
construct_model()by @ddsjoberg in #147 - Add pkg installation checks for car::Anova() and stats::aov() ARD functions by @ddsjoberg in #149
- Making
ard_survey_svycontinuous()a S3 method by @ddsjoberg in #150 - Adding one-sample CI functions by @ddsjoberg in #156
- Update
ard_survival_survfitby @edelarua in #152 - adding
ard_survival_survfit_diff()function by @ddsjoberg in #136 construct_model()updates by @ddsjoberg in #159- Updating
ard_proportion_ci()to accept categorical variables by @ddsjoberg in #158 - Fix installation note by @edelarua in #162
- Closes #103 update effectsize package and corresponding hedges_g code accordingly by @zdz2101 in #153
- standalone updates by @ddsjoberg in #166
- Checks for R 4.3 by @ddsjoberg in #165
- survey one-sample CIs by @ddsjoberg in #177
- Check for simple calls in
construct_model()by @ddsjoberg in #179 - Rethrow error with additional context by @thisisnic in #178
- Fix bt() backtips by @ines-gimeno-molina in #175
- Survey
ard_categorical()by @ddsjoberg in #167 - Updating CI functions by @ddsjoberg in #181
- Added check for protected names in
ard_categorical.survey.design()by @ddsjoberg in #182 - updates to
.as_list_of_exprs()by @ddsjoberg in #184 - review protected names and add tests by @ayogasekaram in #183
New Contributors
- @zdz2101 made their first contribution in #45
- @Melkiades made their first contribution in #51
- @rparmm made their first contribution in #62
- @edelarua made their first contribution in #59
- @walkowif made their first contribution in #76
- @thisisnic made their first contribution in #178
- @ines-gimeno-molina made their first contribution in #175
Full Changelog: https://github.com/insightsengineering/cardx/commits/v0.2.0