Compute estimates of the sampling weights of the respondent's observations based on various estimators

1 2 3 | ```
compute.weights(rds.data, weight.type = c("Gile's SS", "RDS-I", "RDS-I (DS)",
"RDS-II", "Arithmetic Mean", "Good-Fellows"), N = NULL, subset = NULL,
control = control.rds.estimates(), ...)
``` |

`rds.data` |
An |

`weight.type` |
A string giving the type of estimator to use. The options
are |

`N` |
An estimate of the number of members of the population being
sampled. If |

`subset` |
A logical expression subsetting rds.data. |

`control` |
A list of control parameters for algorithm
tuning. Constructed using |

`...` |
Additional parameters passed to the individual weighting algorithms. |

A vector of weights for each of the respondents. It is of the same
size as the number of rows in `rds.data`

.

`rds.I.weights`

, `gile.ss.weights`

, `vh.weights`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.