drawprop {SPARRAfairness}R Documentation

drawprop

Description

Illustrates a proportion as a set of people who are blue rather than red.

Usage

drawprop(prop, ci, nxy = 10, col1 = "maroon", col2 = "lightblue", ...)

Arguments

prop

the proportion to illustrate

ci

half the 95% CI width of the proportion.

nxy

illustrate on an n x n grid

col1

colour to put the 'in' proportion

col2

the other colour

...

passed to 'plot'

Details

Why anyone would want to think about a proportion this way is beyond the understanding of the authors, but the people have spoken.

Value

No return value, draws a figure

Examples

# See vignette

[Package SPARRAfairness version 0.0.0.1 Index]