plotTile: Given a ggplot base object create a finished plot

Description Usage Arguments Value

View source: R/Plot.R

Description

Given a ggplot base object create a finished plot

Usage

1
plotTile(gp, layers, discrete, colours, labels = NULL, ...)

Arguments

gp

the base ggplot to which to add a colour scale and aesthetic (see plotTile.base)

layers

a character vector of the levels which to plot

discrete

force the plot to attempt a discrete fill axis

colours

specify the colours use; a list if discrete is TRUE, or, 2 or 3 colours for the gradient if discrete is FALSE

labels

if desired, specify the names of the labels for each class

...

other parameters to pass

Value

the ggplot object with additional aes and scale


henkelstone/NPEL.Classification documentation built on May 17, 2019, 3:42 p.m.