GSK-Biostatistics / tfrmtbuilder

https://gsk-biostatistics.github.io/tfrmtbuilder/
Apache License 2.0
5 stars 0 forks source link

ability to set param-level frmts in body_plan #42

Closed bzkrouse closed 11 months ago

bzkrouse commented 1 year ago

Cannot currently do the following, where the frmt_when/frmt is specified at a param-level:

frmt_structure(group_val = ".default", 
                        label_val = ".default", 
                        pval = frmt_when(">0.99" ~ ">0.99",
                                         "<0.001" ~ "<0.001",
                                         TRUE ~ frmt("x.xxx", missing = ""))

Note: the ability to have named frmts inside frmt_combine works fine