| get_boundary | R Documentation |
Builds boundary objects describing the separating set between two effective treatment regions under a specified exposure mapping.
get_boundary(neighbors, contrast, exposure)
neighbors |
List of neighbor indices for each observation. |
contrast |
A length-2 list describing the two effective treatments to compare. |
exposure |
Character string specifying the exposure mapping. Supported
values currently include |
An object of class "rdd_boundary". Each element corresponds to a
distinct neighborhood size and contains the information needed to describe
the effective treatment boundary.
neighbors <- list(c(2, 3), c(1, 3), c(1, 2))
contrast <- list(c(1, 1), c(0, 0))
get_boundary(neighbors, contrast, exposure = "one.treated")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.