Build an applied reporting table from a fitted model.
Usage
reporting_table(
object,
newdata,
by = NULL,
probs = c(0.1, 0.5, 0.9),
threshold = NULL,
direction = c("above", "below")
)
Arguments
- object
A fitted gamlss.longitudinal object.
- newdata
Data to summarize.
- by
Optional grouping columns in newdata, such as treatment and time.
- probs
Quantiles to include.
- threshold
Optional threshold for probabilities.
- direction
Probability direction when threshold is supplied.
Value
A data frame with grouped fitted means, medians, quantiles, and optional
threshold probabilities.