Get Horvitz-Thompson estimator assuming inclusion probability proportional to the inverse of network.var (i.e. degree).
get.h.hat(rds.data, group.variable, network.var = attr(rds.data,
"network.size"))An rds.data.from
The grouping variable.
The network.size variable.