Description Usage Arguments Value See Also

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", "HCG"), 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`

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.