courtSim2: Appeals Court Simulation (Version 2)

View source: R/courtSim2.R

courtSim2R Documentation

Appeals Court Simulation (Version 2)

Description

In this version the weakest judge always votes with the strongest one.

Usage

courtSim2(reps = 10000,
                seed = NULL,
                table = FALSE,
                probs = c(0.95, 0.94, 0.90, 0.90, 0.80))

Arguments

reps

number of simulations to perform

seed

The user may provide a seed-value for random-number generation.

table

Does the user want a table of the results?

probs

Chance for each judge to make the right decision on any given case.

Value

side effects

Author(s)

Homer White homerhanumat@gmail.com

Examples

courtSim2(seed = 3030)

homerhanumat/bcscr documentation built on Jan. 14, 2023, 4 a.m.