get_ind_est_from_ec: helper function for calculating individual visibility...

View source: R/sibling_estimator.R

get_ind_est_from_ecR Documentation

helper function for calculating individual visibility estimate from ego X cell data

Description

helper function for calculating individual visibility estimate from ego X cell data

Usage

get_ind_est_from_ec(ec_dat, wgt_var, cell_vars)

Arguments

ec_dat

the ego X cell data

wgt_var

either a string with the name of the column that has sampling weights or a vector with the names of columns with bootstrap weights

cell_vars

vector of strings with the names of variables to group by (the cells)

Value

a tibble with the individual visibility ASDR estimates (not including the respondents' exposures)


dfeehan/siblingsurvival documentation built on June 10, 2025, 11:40 p.m.