add individual visibility based on sib reprots to ego X sib X cell reports
add_esc_ind_vis.RdTakes a dataframe that has a row for each respondent X sib X cell and adds individual visibility to it
Arguments
- esc.dat
Dataset with a row for each respondent X sibling X cell, likely produced by
get_esc_reports- ego.id
String with the name of the column in
esc.datcontaining the survey respondent's id- sib.dat
Dataset with a row for each reported sibling, likely produced by TODO
- sib.frame.indicator
String with the name of the column in
sib.datcontaining a 0/1 coded variable indicating whether or not each sib is in the frame population- varname
String with the name of the new column to be added to
sib.datcontaining the individual visibility