student_censored {greta.censored} | R Documentation |
Creates a censored Student's t distribution for use with greta.
student_censored(
df,
loc,
scale,
is_censored,
censor = "right",
lower = NULL,
upper = NULL,
dim = length(is_censored)
)
df |
Degrees of freedom for the Student's t distribution. |
loc |
Location parameter (mean). |
scale |
Scale parameter. |
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 |
A greta censored Student's t distribution node.