deliberate {sate} | R Documentation |
Deliberation function
Description
The deliberate function returns a jury verdict based on a simulation of deliberation as a modified tug-of-war between two verdict factions. Can be called directly, but is meant to be called many times to generate verdict probabilities based on g_votes and jury_n values.
Usage
deliberate(g_votes, jury_n)
Arguments
g_votes |
Initial number of votes for guilty verdict (same as K value). |
jury_n |
Size of the jury (i.e. 4, 6, 8, 12, or 16). |
Value
Returns "G" (guilty verdict) or "NG" (not guilty verdict).
Examples
library(sate)
deliberate(g_votes=10, jury_n=12)
deliberate(g_votes=4, jury_n=6)
[Package sate version 2.1.0 Index]