courtSim: Appeals Court Simulation

View source: R/courtSim.R

courtSimR Documentation

Appeals Court Simulation

Description

In this version all five judges vote independently.

Usage

courtSim(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

courtSim(seed = 3030)

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