# Personalised Synthetic Controls

## Documentation for package ‘psc’ version 1.3.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

acc | acc
bin.mod | Example model for a survival outcome
cfmDataSumm | Summarising data within a CFM
cfmDataVis | Visualising data within a CFM
coef.psc | Returns the coefficeint estimate of a psc object.
cont.mod | Example model for a survival outcome
count.mod | Example model for a survival outcome
data | Example Dataset of patients with aHCC receiving Lenvetanib
dataComb | A generic function for cleaning data ready for analysis
dataComb.flexsurvreg | Function for cleaning the data of a model with class 'flexsurvreg'
dataComb.glm | Function for cleaning the data of a model with class 'flexsurvreg'
dataComb.pscCFM | Function for cleaning the data of a model with class
dataSumm | A function which provides basic summary information of a matrix x
data_match | A function to ensure that data from the cfm and data cohort are compatible
e4_data | Example Dataset of patients treated with GemCap in the ESPAC-4 trial
facVis | Visualising Categorical Data
facVisComp | Visualising Categorical Data
gemCFM | Model for a survival outcome based on Gemcitbine patietns from ESPAC-3
initParm | Fucntion for estimating initial parameter values 'flexsurvreg'
initParm.flexsurvreg | Fucntion for estimating initial parameter values 'flexsurvreg'
initParm.glm | Fucntion for estimating initial parameter values
initParm.pscCFM | Fucntion for estimating initial parameter values
lik.flexsurvreg | Likelihood function for a psc model of class 'flexsurvreg'
lik.flexsurvreg.mtc | Likelihood function for a psc model of class 'flexsurv' with multiple treatment comparisons
lik.glm | Likelihood function for a psc model of class 'glm'
lik.glm.mtc | Likelihood function for a psc model of class 'glm' with multiple treatment comparisons
linPred | Estimates the linear predictor of a psc object
modelExtract | A generic function for extracting model information
modelExtract.flexsurvreg | A generic function for extracting model information
modelExtract.glm | A generic function for extracting model information
modp | modp
numVis | Visualising Categorical Data
numVisComp | Visualising Categorical Data
plot.psc | Function for Plotting PSC objects
plot.psc.binary | Function for Plotting PSC objects
plot.psc.cont | Function for Plotting PSC objects
plot.psc.count | Function for Plotting PSC objects #' A function which illsutrates the predicted response under the counter factual model and the observed response under the experimental treatment(s).
plot.psc.flexsurvreg | Function for Plotting PSC objects
print.psc | Personalised Synthetic Controls - print
print.quiet_gglist | quiet_gglist
print.quiet_gtsumm | quiet_gtsumm
print.quiet_list | quiet_gtsumm
psc.object | Fitted 'psc' object
pscCFM | Creating a CFM model which can be shared
pscEst | Function for performing estimation procedures in 'pscfit'
pscEst.flexsurvreg | Function for estimating initial parameter values 'flexsurvreg'
pscEst.glm | Function for estimating initial parameter values 'flexsurvreg'
pscEst.pscCFM | Function for estimating initial parameter values 'flexsurvreg'
pscfit | Personalised Synthetic Controls model fit
pscSumm | Personalised Synthetic Controls - summary
summary.psc | Personalised Synthetic Controls - summary
surv.mod | Example model for a survival outcome
surv_fpm | A function to obtain survival estimates from a flexible parametric model
visComp | Visualising Comparisons between a CFM and a DC