Reports graph-hop distance to the nearest observed vertex and the number of
distinct measured participants at each vertex and its immediate neighbors.
These are descriptive support measures, not uncertainty intervals or a
guarantee of transportability. Vertex order follows the supplied operator.
Usage
support.masked.graph.field(operator, vertex, group)
Arguments
- operator
An unnormalized metric.graph.lowpass.operator.
- vertex
Integer vertex indices of observed responses.
- group
Nonmissing participant identifiers for the observations.
Value
A data frame with nearest.observation.hops (Inf if unreachable),
local.participants and component.supported for each vertex.
Examples
op <- metric.graph.lowpass.operator(list(2L, c(1L, 3L), 2L),
list(1, c(1, 1), 1))
support.masked.graph.field(op, vertex = c(1, 3), group = c("a", "b"))
#> nearest.observation.hops local.participants component.supported
#> 1 0 1 TRUE
#> 2 1 2 TRUE
#> 3 0 1 TRUE