View source: R/plotDoseResponse.survDataCstExp.R
plotDoseResponse.survDataCstExp | R Documentation |
survData
objectsThis is the generic plotDoseResponse
S3 method for the survData
class. It plots the survival probability as a function of concentration at a given
target time.
## S3 method for class 'survDataCstExp'
plotDoseResponse(
x,
xlab = "Concentration",
ylab = "Survival probability",
main = NULL,
target.time = NULL,
style = "ggplot",
log.scale = FALSE,
remove.someLabels = FALSE,
addlegend = TRUE,
...
)
x |
an object of class |
xlab |
a label for the |
ylab |
a label for the |
main |
main title for the plot |
target.time |
a numeric value corresponding to some observed time in |
style |
graphical backend, can be |
log.scale |
if |
remove.someLabels |
if |
addlegend |
if |
... |
Further arguments to be passed to generic methods |
The function plots the observed values of the survival probability at a given time point
as a function of concentration. The 95 % binomial confidence interval is added
to each survival probability. It is calculated using function
binom.test
from package stats
.
Replicates are systematically pooled in this plot.
a plot of class ggplot
When style = "generic"
, the function calls the generic function
plot
When style = "ggplot"
, the function return an object of class
ggplot
, see function ggplot
binom.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.