| is_ps_truncated | R Documentation |
is_ps_truncated() returns TRUE if x is a ps_trunc
object or a psw object derived from truncated propensity scores.
Use is_unit_truncated() to find out which observations were modified.
is_ps_truncated(x)
x |
An object. |
A single TRUE or FALSE.
ps_trunc(), is_unit_truncated(), ps_trunc_meta()
ps <- c(0.02, 0.3, 0.5, 0.7, 0.98)
is_ps_truncated(ps)
ps_t <- ps_trunc(ps, method = "ps", lower = 0.05, upper = 0.95)
is_ps_truncated(ps_t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.