DORSETRIGS
Home

gtsummary (19 post)


posts by category not found!

How to get survey and gtsummary to report ALL levels of factor variable

How to Get survey and gtsummary to Report All Levels of a Factor Variable When working with survey data in R its not uncommon to encounter situations where you

2 min read 30-09-2024 46
How to get survey and gtsummary to report ALL levels of factor variable
How to get survey and gtsummary to report ALL levels of factor variable

P-value in tbl_strata

Understanding the P value in tbl strata A Comprehensive Guide When analyzing data in statistics particularly in the context of stratified analysis you may come

3 min read 28-09-2024 39
P-value in tbl_strata
P-value in tbl_strata

How do I sort the output of tbl_custom_summary by row sum?

How to Sort the Output of tbl custom summary by Row Sum When working with data in R you may find yourself using the tbl custom summary function from the dplyr o

2 min read 20-09-2024 40
How do I sort the output of tbl_custom_summary by row sum?
How do I sort the output of tbl_custom_summary by row sum?

Formatting gtsummary tables in columns

Formatting gtsummary Tables in Columns Creating tables that display statistical summaries in a well organized manner is crucial for effective data presentation

2 min read 19-09-2024 43
Formatting gtsummary tables in columns
Formatting gtsummary tables in columns

Is there an easy way to extend number of decimals using gtsummary?

Extending the Number of Decimals in gtsummary When working with statistical summaries in R the gtsummary package offers an elegant way to present data in a form

2 min read 17-09-2024 46
Is there an easy way to extend number of decimals using gtsummary?
Is there an easy way to extend number of decimals using gtsummary?

How do I order the variables displayed in table for tbl_uvregression?

Ordering Variables in tbl uvregression A Comprehensive Guide When working with statistical data in R particularly using the gtsummary package it s common to cre

2 min read 17-09-2024 39
How do I order the variables displayed in table for tbl_uvregression?
How do I order the variables displayed in table for tbl_uvregression?

rounding to nearst 0 or 5 in gtsummary outputbale

Rounding to the Nearest 0 or 5 in gtsummary Output When dealing with statistical outputs clarity and precision are essential especially when presenting data in

2 min read 17-09-2024 43
rounding to nearst 0 or 5 in gtsummary outputbale
rounding to nearst 0 or 5 in gtsummary outputbale

why gtsummary() hide some rows of the categorical variable

Understanding Why gtsummary Hides Some Rows of Categorical Variables When working with statistical data in R gtsummary is a powerful package that aids in creati

3 min read 16-09-2024 41
why gtsummary() hide some rows of the categorical variable
why gtsummary() hide some rows of the categorical variable

rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale

Rounding to the Nearest 0 or 5 in gtsummary Output Table When working with statistical summaries in R particularly using the gtsummary package you may need to p

2 min read 16-09-2024 47
rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale
rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale

Exponentiate linear regression coefficient using the gtsummary package

Exponentiating Linear Regression Coefficients in gtsummary A Practical Guide The gtsummary package is a powerful tool for creating publication ready tables in R

3 min read 04-09-2024 39
Exponentiate linear regression coefficient using the gtsummary package
Exponentiate linear regression coefficient using the gtsummary package

rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale

Rounding to the Nearest 0 or 5 in gtsummary Tables A Guide When presenting data in a table format visual clarity is crucial Often we want to round numeric value

2 min read 02-09-2024 41
rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale
rounding to nearst 0 or 5 in n (add_n()) gtsummary outputbale

how to get global p for categorical variables in quantreg::rq

Obtaining a Global p value for Categorical Variables in Quantile Regression Quantile regression is a powerful tool for analyzing the relationship between variab

3 min read 01-09-2024 43
how to get global p for categorical variables in quantreg::rq
how to get global p for categorical variables in quantreg::rq

Group variables into toplevel variables within tbl_summary()

Grouping Variables in tbl summary for Enhanced Data Analysis When working with large datasets summarizing and presenting key insights can be challenging The gts

3 min read 31-08-2024 52
Group variables into toplevel variables within tbl_summary()
Group variables into toplevel variables within tbl_summary()

Mean scores for survey responses in gtsummary

Calculating Weighted Mean Survey Scores with gtsummary and survey weights This article explores how to calculate weighted mean survey scores using the gtsummary

2 min read 31-08-2024 41
Mean scores for survey responses in gtsummary
Mean scores for survey responses in gtsummary

Changing the number of tests to adjust for with add_q() from gtsummary package

Adjusting for Multiple Comparisons with gtsummary add q The gtsummary package is a powerful tool for creating publication ready tables in R When conducting mult

3 min read 30-08-2024 50
Changing the number of tests to adjust for with add_q() from gtsummary package
Changing the number of tests to adjust for with add_q() from gtsummary package

How do I target the `gtsummary::as_gt()` columns in `gt` styling functions?

How to Target gtsummary as gt Columns in gt Styling Functions Introduction Creating summary tables in R can be greatly enhanced using the gtsummary and gt packa

3 min read 30-08-2024 47
How do I target the `gtsummary::as_gt()` columns in `gt` styling functions?
How do I target the `gtsummary::as_gt()` columns in `gt` styling functions?

tbl_merge changes order of variables?

Understanding Variable Order Changes with tbl merge in gtsummary The tbl merge function in the gtsummary package is a powerful tool for combining and comparing

2 min read 29-08-2024 40
tbl_merge changes order of variables?
tbl_merge changes order of variables?

Adding mortality rate (/1000 patients-years) + 95CI in a tbl_regression (gtsummary) from Cox regression mode?

Adding Mortality Rate and 95 CI to gtsummary Tables from Cox Regression This article explores how to display mortality rate and its 95 confidence interval CI wi

3 min read 28-08-2024 40
Adding mortality rate (/1000 patients-years) + 95CI in a tbl_regression (gtsummary) from Cox regression mode?
Adding mortality rate (/1000 patients-years) + 95CI in a tbl_regression (gtsummary) from Cox regression mode?

Modify cells in tbl_summary table by dividing with constant

Modify cells in tbl summary table by dividing with constant This article demonstrates how to modify cells in a tbl summary table by dividing them by a constant

2 min read 28-08-2024 36
Modify cells in tbl_summary table by dividing with constant
Modify cells in tbl_summary table by dividing with constant