# Personalised Synthetic Controls

## Documentation for package ‘psc’ version 1.1.0

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

## Help Pages

acc | acc
bin.mod | Example model for a survival outcome
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'
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
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 'flexsurvreg'
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
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
psc.object | Fitted 'psc' object
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'
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