The gtsummary::tbl_summary functionality is wonderful and I am looking for a way to add SMD for categorical variables. The tableone function provided smd for all types of covariates including character. I tried adding SMD to tbl_summary by add_stat with effsize::cohen.d or effsize::cohen.d. but both worked for numeric covariates and not for character. Any guidance is appreciated. Thanks
SMD for categorical variable using tbl_summary
1.1k Views Asked by Inbal Goldshtein At
1
There are 1 best solutions below
Related Questions in GTSUMMARY
- tbl_uvregression for lme4 objects
- How to use {gtsummary} package in r shiny app
- Use tbl_summary to get the means of categorical data
- With gtsummary, is it possible to have N on a separate row to the column name?
- How to modify header in r using gtsummary package?
- Add Control and Cases numbers instead of add_nevent()
- Spanning header for gtsummary regression table
- Journal themes for regression table using gtsummary package throws an error
- multinomial logistic regression results table in wide format using the gtsummary package
- Using {gtsummary} to display confidence intervals for survey.design object?
- Rmarkdown/knitr captions for tables using {gtsummary}
- Adding customized options to gtsummary tables
- way to create summary table in R with two grouping factors
- gtsummary - change orientation of table
- Ensuring two different gt tables have the same width (e.g., full page width or other custom length) in quarto pdf
Related Questions in SMD
- Download files as .zip via cmis
- Standardised mean differences for categorical variables
- no smd (standardized mean differences) shown by tableone::CreateTableOne
- Can't get my app to work everyday! I user time.sleep() for > 12 hours
- How to get exception inside ActionInvocation.invoke()
- I'm unable to solve an unused arguments error I get when using the smd package
- jsonrpc2 returning remote reference
- Effect Size Calculation with metafor (using "SMD"): insert standard deviation of difference of groups rather than group-specific SDs?
- SMD for categorical variable using tbl_summary
- JSON-RPC and Json-rpc service discovery specifications
- Elegant way to make RPC Calls to Python Functions in a Django Project
- Android application fetch data from SQLite
- Is there a solution for generating a JSON SMD for a Spring 3 REST Controller?
- How to calculate Standardized Mean Difference for Table1 Package in R?
- Add SMDs for each level of a categorical variable in gtsummary
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Use the
add_difference()function with method"smd"to get the standardized mean differences. Review this page for a list of all available methods https://www.danieldsjoberg.com/gtsummary/reference/tests.html