I'm trying to replicate the nice looking table in Rstudio Viewer of an example on the rpact
vignette, where the output summary table is in tabular format. But my output summary table just show up in the Console and not in the Viewer. I have tried kbl
and gtsummary
but not successful.
getDesignGroupSequential(
beta = 0.05,
typeOfDesign = "asKD",
gammaA = 1,
typeBetaSpending = "bsOF"
) |>
summary()
My output
I want to replicate this output instead.