We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d48ddd commit 6d71247Copy full SHA for 6d71247
R/ppc-censoring.R
@@ -81,6 +81,13 @@ NULL
81
#' (delayed entry) times for the observations from `y`. This must
82
#' be a numeric vector of the same length as `y`. If `NULL` (default),
83
#' no left-truncation is assumed.
84
+#' @param extrapolation_factor A numeric value (>=1) that controls how far the
85
+#' plot is extended beyond the largest observed value in `y`. The default
86
+#' value is 1.2, which corresponds to 20 % extrapolation. To display all
87
+#' posterior predictive draws, set `extrapolation_factor = Inf`.
88
+#' Note that the plot is never extrapolated further than the largest
89
+#' value in `yrep`.
90
+#'
91
ppc_km_overlay <- function(
92
y,
93
yrep,
0 commit comments