Package: EpiForsk 0.1.1

EpiForsk: Code Sharing at the Department of Epidemiological Research at Statens Serum Institut

This is a collection of assorted functions and examples collected from various projects. Currently we have functionalities for simplifying overlapping time intervals, Charlson comorbidity score constructors for Danish data, getting frequency for multiple variables, getting standardized output from logistic and log-linear regressions, sibling design linear regression functionalities a method for calculating the confidence intervals for functions of parameters from a GLM, Bayes equivalent for hypothesis testing with asymptotic Bayes factor, and several help functions for generalized random forest analysis using 'grf'.

Authors:Anders Husby [aut], Anna Laksafoss [aut], Emilia Myrup Thiesson [aut], Kim Daniel Jakobsen [aut, cre], Mikael Andersson [aut], Klaus Rostgaard [aut]

EpiForsk_0.1.1.tar.gz
EpiForsk_0.1.1.zip(r-4.5)EpiForsk_0.1.1.zip(r-4.4)EpiForsk_0.1.1.zip(r-4.3)
EpiForsk_0.1.1.tgz(r-4.4-any)EpiForsk_0.1.1.tgz(r-4.3-any)
EpiForsk_0.1.1.tar.gz(r-4.5-noble)EpiForsk_0.1.1.tar.gz(r-4.4-noble)
EpiForsk_0.1.1.tgz(r-4.4-emscripten)EpiForsk_0.1.1.tgz(r-4.3-emscripten)
EpiForsk.pdf |EpiForsk.html
EpiForsk/json (API)

# Install 'EpiForsk' in R:
install.packages('EpiForsk', repos = c('https://kjakobse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kjakobse/epiforsk/issues

Datasets:

On CRAN:

26 exports 1.10 score 97 dependencies 8 scripts 201 downloads

Last updated 7 months agofrom:c51aaaf5f3. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 16 2024
R-4.5-winNOTESep 16 2024
R-4.5-linuxNOTESep 16 2024
R-4.4-winOKSep 16 2024
R-4.4-macOKSep 16 2024
R-4.3-winOKSep 16 2024
R-4.3-macOKSep 16 2024

Exports:.datatable.awareasympBFbraid_rowsCATESurfaceCausalForestDynamicSubgroupsCForBenefitcharlson_scoreCovariateBalanceDiscreteCovariatesToOneHotfct_confintflatten_date_intervalsfreq_functionfreq_function_repeatedinvasympBFinvlogasympBFinvwatershedlmslogasympBFmany_mergemulti_joinodds_ratio_functionodds_ratio_function_repeatedRATEOmnibusTestRATETesttry_catch_warningswatershed

Dependencies:backportsbase64encBHbroombslibcachemcheckmatechkcliclustercolorspacecowplotcpp11data.tableDBIDiceKrigingdigestdplyrevaluatefansifarverfastmapfontawesomeforcatsforeignFormulafsgenericsggplot2gluegrfgridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelmtestmagrittrMASSMatchItMatrixmemoisemgcvmimeminqamitoolsmunsellnlmennetnumDerivpatchworkpillarpkgconfigpolicytreeprogressrpurrrR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppProgressrlangrmarkdownrpartrstudioapisandwichsassscalesstringistringrsurveysurvivalsvyVGAMtibbletidyrtidyselecttinytexutf8vctrsVGAMviridisviridisLitewithrxfunyamlzoo

Contributing to EpiForsk

Rendered fromContributing.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2023-01-17
Started: 2022-12-05

Husby's Multi Faceted Forest Plot

Rendered fromandh_forest_plot.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2024-02-26
Started: 2022-11-07

Writing Package Functions

Rendered fromWriting_functions.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2023-02-03
Started: 2022-12-05

Readme and manuals

Help Manual

Help pageTopics
EpiForskEpiForsk-package EpiForsk
make package data table aware.datatable.aware
Simulated Time-Varying Residence Dataadls_timevarying_region_data
Example Data for Husby's Forest Plot Vignetteandh_forest_data
Bind lists of list of multiple data frames by rowbraid_rows
Calculate CATE on a surface in the covariate spaceCATESurface
Calculate CATE in dynamically determined subgroupsCausalForestDynamicSubgroups
Round numbers up to a given number of decimal placesceiling_dec
c-for-benefitCForBenefit
Charlson Score Constructorcharlson_score
solve optimization problem for CI boundsci_fct
Handle errors returned by ci_fctci_fct_error_handler
Plots for checking covariate balance in causal forestCovariateBalance
Determine number of decimal placesdecimalplaces
Extract discrete covariate namesDiscreteCovariateNames
One-hot encode factorsDiscreteCovariatesToOneHot
Confidence set for functions of model parametersfct_confint fct_confint.default fct_confint.glm fct_confint.lm fct_confint.lms
Flatten Date Intervalsflatten_date_intervals
Round numbers down to a given number of decimal placesfloor_dec
Frequency Tables with Percentage and Odds Ratiosfreq_function
Wrapper for 'freq_function()' to get frequencies for many variables in one go.freq_function_repeated
Wrapper around lm for sibling designlms print.lms
Asymptotic Bayes factorsasympBF invasympBF invlogasympBF invwatershed logasympBF watershed
Merging Many Data Frames with Name Handlingmany_merge
Join many data frames with name handlingmulti_join
Easier to perform logistic and log-linear regressions giving a standardized output tableodds_ratio_function
Wrapper for the 'odds_ratio_function()'to perform several similar analyses in one goodds_ratio_function_repeated
RATE based omnibus test of heterogeneityRATEOmnibusTest
wrapper for rank_average_treatment_effectRATETest
Summary function for svy_vglm objectssummary.svy_vglm
Try Catch with Warning Handlingtry_catch_warnings
Heteroscedasticity-Consistent Covariance MatrixvcovHC