Creates a censored log-normal distribution for use with greta.
lognormal_censored(
meanlog,
sdlog,
is_censored,
censor = "right",
lower = NULL,
upper = NULL,
dim = length(is_censored)
)
Mean of the log-transformed normal distribution.
Standard deviation of the log-transformed normal distribution.
Logical vector indicating whether each observation is censored.
Type of censoring: one of 'right', 'left', 'interval'.
Lower bound for interval censoring (optional).
Upper bound for interval censoring (optional).
Dimension of the data (optional, defaults to length of meanlog
).
A greta censored log-normal distribution node.