Learn R Programming

RDS (version 0.9-9)

cumulative.estimate: Calculates estimates at each successive wave of the sampling process

Description

Calculates estimates at each successive wave of the sampling process

Usage

cumulative.estimate(
  rds.data,
  outcome.variable,
  est.func = RDS.II.estimates,
  n.eval.points = 25,
  ...
)

Arguments

rds.data

An rds.data.frame

outcome.variable

The outcome

est.func

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

n.eval.points

number of evaluation points to calculate the estimates at

...

additional parameters for est.func