metrumresearchgroup / pmtables

TeX tables for pharmacometrics.
https://metrumresearchgroup.github.io/pmt-book
11 stars 1 forks source link

add sumrows to valid field list for st_new #312

Closed kylebaron closed 11 months ago

kylebaron commented 1 year ago

sumrows needs to be in the list of valid incoming fields when calling st_new()

library(dplyr)
library(pmtables)

pt_cont_long(
  pmt_first,
  cols = c("WT", "CRCL"),
  by  = "STUDYf"
) %>% st_new()