For a categorical DV variable, show associated probabilities
Source:R/categorical.R
list_dv_probs.Rd
A convenient quick check for how probabilities are currently
assigned, based on set_dv_probs
.
Examples
pkpd_m3 %>%
set_dv_probs(1, 1~LIKE, .dv_var = BLQ) %>%
list_dv_probs(.dv_var=BLQ)
#> Warning: Var types not properly assigned as `dvprobs`, but probabilities will still be
#> applied: LIKE
#> Warning: Var type for DV not properly assigned as `catdv`, but probabilities will still
#> be applied: BLQ
#> # A tibble: 1 × 3
#> value qual prob
#> <dbl> <chr> <chr>
#> 1 1 NA LIKE