Package: psc 1.0.0

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.zip(r-4.5)psc_1.0.0.zip(r-4.4)psc_1.0.0.zip(r-4.3)
psc_1.0.0.tgz(r-4.4-any)psc_1.0.0.tgz(r-4.3-any)
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://richjjackson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

On CRAN:

4.04 score 17 scripts 6 exports 55 dependencies

Last updated 3 days agofrom:50456976ad. Checks:ERROR: 2 WARNING: 5. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 21 2024
R-4.5-winWARNINGNov 21 2024
R-4.5-linuxERRORNov 21 2024
R-4.4-winWARNINGNov 21 2024
R-4.4-macWARNINGNov 21 2024
R-4.3-winWARNINGNov 21 2024
R-4.3-macWARNINGNov 21 2024

Exports:dataComblinPredmodelExtractpscfitpscSummsurv_fpm

Dependencies:assertthatbbmlebdsmatrixBHclicolorspacecpp11data.tabledeSolvedplyrenrichwithfansifarverfastGHQuadflexsurvgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmstatemuhazmunsellmvtnormnlmenumDerivpillarpkgconfigpurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

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