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
Thanks for this practical package for creating ADaM. I have few question about some logic error when I look at the ADTTE dataset.
library(dplyr)
library(random.cdisc.data)
library(diffdf)
# call function to be able to match random number generation from previous R versions
RNGkind(sample.kind = "Rounding")
cadsl_new <- radsl(seed = 1, na_vars = list()) %>% `attr<-`("creation date", Sys.Date())
cadae_new <- radae(cadsl_new, seed = 1, na_vars = list()) %>% `attr<-`("creation date", Sys.Date())
cadrs_new <- radrs(cadsl_new, seed = 1, na_vars = list()) %>% `attr<-`("creation date", Sys.Date())
cadtte_new <- radtte(cadsl_new, seed = 1, na_vars = list()) %>% `attr<-`("creation date", Sys.Date())
data <- cadtte_new %>%
filter(PARAMCD == "PFS" & CNSR == 1 & DCSREAS == "DEATH") %>%
select(USUBJID, SUBJID, DCSREAS, DTHDT, DTHCAUS, CNSR, EVNTDESC, CNSDTDSC)
When the subject die, I think the PFS that I filter should be indicated as event rather than censor in the PFS rule. And when I just filter the PFS censor subjects as shown below, I find the "Last Date Known To Be Alive" should not appear in EVNTDESC of PFS censor, but should be OS censor. And the logic between EVNTDESC and CNSDTDSC is a little confused if it's in normal oncology trials.
Thanks for this practical package for creating ADaM. I have few question about some logic error when I look at the ADTTE dataset.
When the subject die, I think the PFS that I filter should be indicated as event rather than censor in the PFS rule. And when I just filter the PFS censor subjects as shown below, I find the "Last Date Known To Be Alive" should not appear in
EVNTDESC
of PFS censor, but should be OS censor. And the logic betweenEVNTDESC
andCNSDTDSC
is a little confused if it's in normal oncology trials.sessionInfo()
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: