Category "gtsummary"

Can someone assist me with this problem, i am getting this error when i load gtsummary after installing the package

[loading error][1] i am getting this error when i load gtsummary after installing the package [1]: https://i.stack.imgur.com/WhH03.png

How to add pooled standard error in tbl_summary() and eta effect size?

I am trying to include Pooled Standard Error (PSE) and Eta square to tbl_summary(). PSE is calculated by sqrt(mean(residuals^2)/n), I tried to calculate step by

Error when renaming multiple columns and using add_overall() in tbl_summary

I am trying to create summary tables. I want to split these by site and have a "Total" column. However, when I try to rename multiple columns AND use add_overal

Convert poisson regression results table to wide

I've read a small function to convert the results to wide: https://gist.github.com/ddsjoberg/a55afa74ac58e1f895862fcabab62406, and wondering if it can be done f

Show true unknown count based on question logic

I'm working with surveys where if a specific answer is provided, a follow-up question is given. For example, if the answer to q1 is "yes" then q2 is asked. Howe

Calculate percent from total observations in r gtsummary::tbl_summary?

Issue: In gtsummary the tbl_summary function calculates column percent out of the total non-missing observations. I would like gtsummary to calculate percent fr

Formating tbl_svysummary() outputs in R

I'm doing descriptive analysis of survey data, I'm using the gtsummary package which have been working nicely. I use this code, I don't provide any data because

Is it possible to create a stratified table (tbl_strata) using tbl_svysummary()?

I am pretty new to survey data and gtsumarry package. I'm trying to create a stratified table from the survey data using the following code, and I get the error