dgroups {droptest}R Documentation

Generates groups of simulated test series.

Description

dgroups returns a collection test series organized into groups. Each batch of test series are identified with a group number. Test parameters will be uniform within each group.

Usage

dgroups(num.groups = NULL, probs = NULL, ...)

Arguments

num.groups

Integer. Specifies how many groups of drop tests to simulate.

probs

Vector. Specifies probabilities of q used for each group. Vector length must equal value of num.groups.

...

Passes values to dseries.

Value

Data table of groups where each group consists of multiple drop tests. Consisting of the following elements:

Author(s)

Chad Ross chad.ross@gmail.com

See Also

dseries dtrials droptest

Examples

  dgroups(num.groups = 2, probs = c(0.01, 0.2), num.series = 5)
  dgroups(num.groups = 2, probs = c(0.01, 0.2), num.series = 5, max.trials = 60)
  dgroups(num.groups = 2, probs = c(0.01, 0.2), num.series = 5, fail.criteria = 2)
  dgroups(num.groups = 5, probs = seq(0.01, 0.05, by = 0.01), num.series = 2) 


[Package droptest version 0.1.3 Index]