Learn R Programming

sate (version 2.4.0)

basic.plot.grid: Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilities

Description

Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilities, optional argument to modify main, xlab, and ylab labels, includes grid lines.

Usage

basic.plot.grid(main, xlab, ylab)

Value

No return

Arguments

main

Main title for plot (optional), default is "Jurors' Verdict Preferences, P(g)".

xlab

X-axis label for plot (optional), default is "Jury Verdict Probabilities, P(G)".

ylab

Main title for plot (optional), default is no main title.

Examples

Run this code
   library(sate)
   basic.plot.grid()

   basic.plot.grid(main="Death Sentencing Analysis", xlab="Jurors' Sentencing Preferences, P(d)",
                   ylab="Jury Verdict Probabilities, P(D)")

Run the code above in your browser using DataLab