Package: psc 1.0.0

Richard Jackson

psc: Personalised Synthetic Controls

Allows the comparison of data cohorts (DC) against a Counter Factual Model (CFM) and measures the difference in terms of an efficacy parameter. Allows the application of Personalised Synthetic Controls.

Authors:Richard Jackson [cre, aut]

psc_1.0.0.tar.gz
psc_1.0.0.tar.gz(r-4.5-noble)psc_1.0.0.tar.gz(r-4.4-noble)
psc_1.0.0.tgz(r-4.4-emscripten)psc_1.0.0.tgz(r-4.3-emscripten)
psc.pdf |psc.html
psc/json (API)
NEWS

# Install 'psc' in R:
install.packages('psc', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/richjjackson/psc/issues

Datasets:
  • bin.mod - Example model for a survival outcome
  • cont.mod - Cont.mod
  • count.mod - Example model for a survival outcome
  • data - Example Dataset of patients with aHCC receiving Lenvetanib
  • surv.mod - Example model for a survival outcome

2.93 score 17 scripts 87 downloads 6 exports 55 dependencies

Last updated 5 days agofrom:7b24e0e000. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linuxOKNov 25 2024

Exports:dataComblinPredmodelExtractpscfitpscSummsurv_fpm

Dependencies:assertthatbbmlebdsmatrixBHclicolorspacecpp11data.tabledeSolvedplyrenrichwithfansifarverfastGHQuadflexsurvgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmstatemuhazmunsellmvtnormnlmenumDerivpillarpkgconfigpurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

psc-vignette

Rendered frompsc-vignette.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-20
Started: 2024-11-20

Readme and manuals

Help Manual

Help pageTopics
accacc
Example model for a survival outcomebin.mod
Returns the coefficeint estimate of a psc object.coef.psc
cont.modcont.mod
Example model for a survival outcomecount.mod
Example Dataset of patients with aHCC receiving Lenvetanibdata
A generic function for cleaning data ready for analysisdataComb
Fucntion for cleaning the data of a model with class 'flexsurvreg'dataComb.flexsurvreg
Fucntion for cleaning the data of a model with class 'flexsurvreg'dataComb.glm
Fucntion for estimating initial parameter values 'flexsurvreg'initParm
Fucntion for estimating initial parameter values 'flexsurvreg'initParm.flexsurvreg
Fucntion for estimating initial parameter values 'flexsurvreg'initParm.glm
Likelihood functio for a a psc model of class 'flexsurvreg'lik.flexsurvreg
Likelihood functio for a a psc model of class 'flexsurvreg'lik.flexsurvreg.mtc
Likelihood functio for a a psc model of class 'glm'lik.glm
Likelihood functio for a a psc model of class 'flexsurvreg'lik.glm.mtc
Estimates the linear predictor of a psc objectlinPred
A generic function for extracting model informationmodelExtract
A generic function for extracting model informationmodelExtract.flexsurvreg
A generic function for extracting model informationmodelExtract.glm
modpmodp
Fucntion for Plotting PSC objectsplot.psc
Personalised Synthetic Controls - printprint.psc
Wrapper function for individual treatment effectspsc_ite
Fitted 'psc' objectpsc.object
Function for performing estimation procedures in 'pscfit'pscEst
Fucntion for estimating initial parameter values 'flexsurvreg'pscEst.flexsurvreg
Fucntion for estimating initial parameter values 'glm'pscEst.glm
Personalised Synthetic Controls model fitpscfit
Personalised Synthetic Controls - summarypscSumm
Personalised Synthetic Controls - summarysummary.psc
modpsurv_fpm
Example model for a survival outcomesurv.mod