View source: R/plot.survFitPredict.R
plot.survFitPredict | R Documentation |
survFitPredict
objectsThis is the generic plot
S3 method for the
survFitPredict
. It plots the predicted survival probability for each
concentration of the chemical compound in the provided dataset.
## S3 method for class 'survFitPredict'
plot(
x,
xlab = "Time",
ylab = "Survival probability",
main = NULL,
spaghetti = FALSE,
one.plot = FALSE,
mcmc_size = NULL,
...
)
x |
An object of class |
xlab |
A label for the |
ylab |
A label for the |
main |
A main title for the plot. |
spaghetti |
If |
one.plot |
if |
mcmc_size |
A numerical value refering by default to the size of the mcmc in object |
... |
Further arguments to be passed to generic methods. |
The fitted curves represent the predicted survival probability as a function
of time for each concentration.
The function plots both the 95% credible band and the predicted survival
probability over time.
If spaghetti = TRUE
, the credible intervals are represented by two
dotted lines limiting the credible band, and a spaghetti plot is added to this band.
This spaghetti plot consists of the representation of simulated curves using parameter values
sampled in the posterior distribution (10% of the MCMC chains are randomly
taken for this sample).
a plot of class ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.