You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears gtsummary::add_overall() is not compatible with tbl_hierarchical objects. It is the same when I try to go from an ard_hierarchical to a tbl_hierarchical object.
I wanted to use cards::ard_stack_hierarchical but I think the overall argument is not fully compatible with gtsummary::tbl_ard_hierarchical yet.
The add_overall() method for tbl_hierarchical objects was just recently added into {gtsummary}. If you'd like to try it out you can install development version 2.0.3.9006 or later and it should work. We don't need to add in any functionality/arguments for that since users can easily apply it themselves after creating the table if they'd like.
tbl_ard_hierarchical() is still under development and will undergo big changes in the near future, including the addition of the overall_row argument, but for now it may be easier not to use it.
On my current branch i used another way to deal with the overall column if you want to take a look. I will try to install the latest development version of gtsummary and use it this week.
Table Layout & Design
See this issue: #176
Table Description
Same as #176
Analysis Datasets
ADSL, ADAE
Data from the
random.cdisc.data
package, can be retrieved byrandom.cdisc.data::c
followed by yourdataset name.
Analysis Filters
Safety population:
SAFFL == "Y"
Additional Information
No response
Developer To Dos
R/fda-table_XX.R
file with your table-generating function.@details
, document all parameters,@return
,@examples
,@export
.tests/testthat/test-table_XX.R
file with tests for the table function and then run these tests.quarto/table-templates/template-table_XX.qmd
file your table template.table_XX.png
to thequarto/assets/images/screenshots
folder._quarto.yml
file.quarto/assets/generate-template_index.R
script to update the template index.The text was updated successfully, but these errors were encountered: