Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

convergence.plot

Convergence Plots


Description

This function creates diagnostic convergence plots for RDS estimators.

Usage

convergence.plot(
  rds.data,
  outcome.variable,
  est.func = RDS.II.estimates,
  as.factor = FALSE,
  n.eval.points = 25,
  ...
)

Arguments

rds.data

An rds.data.frame.

outcome.variable

A character vector of outcome variables.

est.func

A function taking rds.data and outcome.variable as parameters and returning an rds.weighted.estimate object.

as.factor

Convert all outcome variables to factors

n.eval.points

number of evaluation points to calculate the estimates at

...

additional parameters for est.func.

References

Krista J. Gile, Lisa G. Johnston, Matthew J. Salganik Diagnostics for Respondent-driven Sampling eprint arXiv:1209.6254, 2012

Examples

data(faux)
convergence.plot(faux,c("X","Y"))

RDS

Respondent-Driven Sampling

v0.9-3
LGPL-2.1
Authors
Mark S. Handcock [aut, cre], Krista J. Gile [aut], Ian E. Fellows [aut], W. Whipple Neely [aut]
Initial release
2021-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.