Returns top (or bottom) rows from a fitted heteff_fit object.
Usage
rank_effects(fit, n = 20, decreasing = TRUE)
Arguments
- fit
A heteff_fit object.
- n
Number of rows to return.
- decreasing
If TRUE, returns largest estimated effects first.
Value
A data frame subset of fit$effect_table.
Examples
if (FALSE) { # \dontrun{
top10 <- rank_effects(fit_object, n = 10)
} # }