weibull_censored {greta.censored} | R Documentation |
Weibull Censored Distribution
Description
Creates a censored Weibull distribution for use with greta.
Usage
weibull_censored(
shape,
scale,
is_censored,
censor = "right",
lower = NULL,
upper = NULL,
dim = length(is_censored)
)
Arguments
shape |
Shape parameter of the Weibull distribution. |
scale |
Scale parameter of the Weibull distribution. |
is_censored |
Logical vector indicating whether each observation is censored. |
censor |
Type of censoring: one of 'right', 'left', 'interval'. |
lower |
Lower bound for interval censoring (optional). |
upper |
Upper bound for interval censoring (optional). |
dim |
Dimension of the data (optional, defaults to length of |
Value
A greta censored Weibull distribution node.
[Package greta.censored version 0.1.0 Index]