Extract {morseTKTD} | R Documentation |
Extraction methods to recover output of fit object.
Description
-
extract_Nsurv_ppc: extract the
Nsurv
generated with the sampler. To be used for the Posterior Predictive Check (PPC). -
extract_Nsurv_sim: extract the
Nsurv
generated with the sampler. To be used for the Simulation (sim). -
extract_param: extract parameters of
SD
orIT
models. -
priors_distribution: Return a
data.frame
with prior density distributions of parameters used in the model.
Usage
extract_Nsurv_ppc(fit)
extract_Nsurv_sim(fit)
extract_param(fit)
priors_distribution(fit, ...)
## S3 method for class 'SurvFit'
priors_distribution(fit, size_sample = 1000, ...)
Arguments
fit |
An object of class |
... |
Further arguments to be passed to generic methods |
size_sample |
Size of the random generation of the distribution. |
Value
a data.frame
with the extracted object from stanfit.
[Package morseTKTD version 0.1.3 Index]