dseries {droptest} | R Documentation |
Completes multiple series of simulated drop tests.
Description
dseries
returns a series of simulated drop tests. Where each test
consists of trials (drops).
Usage
dseries(num.series, tag.group = FALSE, group = 0, ...)
Arguments
num.series |
Integer. Specifies how many series of drop tests to simulate. |
tag.group |
Logical. If |
group |
Integer. Assigns a group number to each simulated drop test
within the same series. Only if |
... |
Passes |
Value
Data table of multiple simulated drop tests. Each row of the data.table represents one simulated drop test. Containing the following elements:
-
F_CRITERIA The failure criteria specified.
-
REACT The total number of simulated reactions (failures).
-
NON_REACT The total number of simulated non-reactions (successes).
-
TRIALS The number of simulated trials performed until failure condition met.
-
MAX_TRIALS The maximum number of simulated trials to perform as specified.
-
PCT_REACT The the percent of simulated trials that yielded a reaction (failure).
-
Q The probability of failure (reaction) as specified.
-
P The probability of success (non-reaction).
-
RESULT Whether the simulated test series as a whole failed or passed based on the failure criteria specified.
Author(s)
Chad Ross chad.ross@gmail.com
See Also
Examples
dseries(num.series = 5, q = 0.05)
dseries(num.series = 5, q = 0.05, max.trials = 60)
dseries(num.series = 5, q = 0.05, max.trials = 60, fail.criteria = 2)