cookiemonster: Creates a Cookie Monster lineup

Description Usage Arguments Value Examples

Description

Creates a Cookie Monster lineup

Usage

1
2
cookiemonster(data, mapping = aes(), var = character(), n = 10,
  nrow = 2, procent = 0.5, ...)

Arguments

data

default dataset to be used for the plot. Data.frame.

mapping

Default list of aesthetic mappings to use for plot.

var

name of variable to permute.

n

total number of samples to generate (including true data).

nrow

number of rows in lineup.

procent

procent of area that Cookie Monster will occupy.

\dots

arguments passed on to lineup.

Value

The sum of x and y.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
cookiemonster(mtcars, var = "mpg") +
aes(mpg, wt) +
geom_point()

cookiemonster(mtcars, aes(mpg, wt), "mpg") +
geom_point()

## End(Not run)

EmilHvitfeldt/cookiemonster documentation built on May 29, 2019, 5:56 p.m.