Censoring geom/stat
This is a censoring geom that shows the left or right censoring specified in the nlmixr input data-set or fit
stat_cens( mapping = NULL, data = NULL, position = "identity", show.legend = NA, inherit.aes = TRUE, width = 0.01, ... ) geom_cens( mapping = NULL, data = NULL, position = "identity", show.legend = NA, inherit.aes = TRUE, width = 0.01, ... )
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
width |
represents the width (in \ censoring box |
... |
Other arguments passed on to |
Requires the following aesthetics:
x
Represents the independent variable, often the time scale
y
represents the dependent variable
CENS
for the censoring information; (-1
right censored, 0
no censoring or 1
left censoring)
LIMIT
which represents the corresponding limit ()
Will add boxes representing the areas of the fit that were censored.
This returns a ggplot2 stat
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.