was_sim: Runs the WAS simulation.

Description Usage Arguments Value Examples

View source: R/was_sim.R

Description

Runs the WAS simulation.

Usage

1
2
was_sim(R, S, des, des_pars, pre, pre_pars, tar, tar_pars, B, est_var = FALSE,
  pop)

Arguments

R

The number of runs.

S

The number of steps.

des

A list containing the sampling designs for each step.

des_pars

A list containing the parameters for the sampling designs in des.

pre

A list containing the predictive tools to compare.

pre_pars

A list containing the parameters for the predictive tools in pre.

tar

A list containing the targeting functions for each step/to compare?.

tar_pars

A list containing the parameters for the targeting functions in tar.

B

The number of Bootstrap runs to estimate the inclusion probabilities.

est_var

Should the variance be also estimated via bootstrapped second order inclusion probabilities? Defaults to FALSE.

pop

The population [...].

Value

The simulation.

Examples

1

federicoandreis/wasim documentation built on Jan. 16, 2020, 7:54 p.m.