Skip to content

Commit

Permalink
Buena Vista Social Club - Candela
Browse files Browse the repository at this point in the history
  • Loading branch information
mercifr1 committed Jun 26, 2024
1 parent b32aafb commit 58e1e30
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 7 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#' UID values
#' ---------------------------------

kras<-haven::read_sas("./design/examples/PRIMEstudy/data/biomark_pds2019.sas7bdat")
kras<-haven::read_sas("./design/examples/mCRCpub/data/biomark_pds2019.sas7bdat")
kras0<-kras |> select("SUBJID", "BMMTR1")

adsl<-haven::read_sas("./design/examples/PRIMEstudy/data/adsl_pds2019.sas7bdat")
adsl<-haven::read_sas("./design/examples/mCRCpub/data/adsl_pds2019.sas7bdat")
adsl0<-adsl |>
select("SUBJID", "ATRT", "DTHDY", "DTH") |>
mutate(STUDY="1", DTHYR=DTHDY/365.25) |>
Expand All @@ -31,7 +31,7 @@ UIDlist<-unique(adsl0$SUBJID)
#' length(UIDlist)
#' 514

adtr<-haven::read_sas("./design/examples/PRIMEstudy/data/adls_pds2019.sas7bdat")
adtr<-haven::read_sas("./design/examples/mCRCpub/data/adls_pds2019.sas7bdat")
keepinadtr0<-c("SUBJID", "VISITDY", "VISIT", "LSSLD")

adtr0<-adtr |>
Expand All @@ -46,7 +46,7 @@ adtr0<-adtr |>
#' length(unique(adtr0$SUBJID))
#' 263

saveRDS(adtr0, file="./design/examples/PRIMEstudy/data/PRIMEads.rds")
saveRDS(adtr0, file="./design/examples/mCRCpub/data/PRIMEads.rds")



Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#' sessionInfo()

ads<-readRDS("./design/examples/PRIMEstudy/data/PRIMEads.rds")
ads<-readRDS("./design/examples/mCRCpub/data/PRIMEads.rds")

#' ===============================================
#' Visualize SLD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#' sessionInfo()

ads<-readRDS("./design/examples/PRIMEstudy/data/PRIMEads.rds")
ads<-readRDS("./design/examples/mCRCpub/data/PRIMEads.rds")

#' ===============================================
#' Model SLD
Expand Down Expand Up @@ -41,7 +41,7 @@ tgi.samples<-sampleStanModel(tgi.in, data=tgi.dat,
tgi.out<-as.CmdStanMCMC(tgi.samples)
print(tgi.out)

#' saveRDS(tgi.out, file="./design/examples/PRIMEstudy/PRIMEtgiout.rds")
#' saveRDS(tgi.out, file="./design/examples/mCRCpub/PRIMEtgiout.rds")

#' Problems here:
#' iPred vs. Obs
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 58e1e30

Please sign in to comment.