designPlotlabels | R Documentation |
ggplot2
Plots the labels
in a grid specified by
grid.x
and grid.y
. The labels can be coloured by the values of
the column specified by column.name
.
designPlotlabels(data, labels, grid.x = "Columns", grid.y = "Rows",
colour.column=NULL, colour.values=NULL,
reverse.x = FALSE, reverse.y = TRUE,
xlab, ylab, title, printPlot = TRUE, ggplotFuncs = NULL, ...)
data |
A |
labels |
A |
grid.x |
A |
grid.y |
A |
reverse.x |
A |
reverse.y |
A |
colour.column |
A |
colour.values |
A |
xlab |
|
ylab |
|
title |
Title for plot window. By default it is "Plot of labels". |
printPlot |
A |
ggplotFuncs |
A |
... |
Other arguments that are passed down to the |
An object of class "ggplot
", which can be plotted using print
.
Chris Brien
fac.combine
in package dae, designPlot
.
Treatments <- factor(rep(1:6, times = 5))
RCBD.lay <- designRandomize(allocated = Treatments,
recipient = list(Blocks = 5, Units = 6),
nested.recipients = list(Units = "Blocks"),
seed = 74111)
designPlotlabels(RCBD.lay, labels = "Treatments",
grid.x = "Units", grid.y = "Blocks",
colour.column = "Treatments", size = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.