View source: R/estimate-utils.R
get.h.hat | R Documentation |
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")
)
rds.data |
An rds.data.from |
group.variable |
The grouping variable. |
network.var |
The network.size variable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.