View source: R/plotObjectiveFunction.R
plotObjectiveFunction | R Documentation |
This function plots the result of Lslide::ObjectiveFunction
function using
ggplot
plotObjectiveFunction(x, legend.position = "bottom", title = "", selected.Scale = NULL, selected.Scale.label = "selected scale", col.OF = "#DC143C", col.PF = "black", col.nIV = "#6495ED", col.nMI = "#8B4513", col.sSl = "gold", selected.Scale.size = 4, selected.Scale.shape = 1, selected.Scale.stroke = 1.2, ...)
x |
result of function |
legend.position |
position of legend in plot. Default: "bottom" |
title |
plot title. Default: "" |
selected.Scale |
scale parameter for highlighting. Default: NULL |
selected.Scale.label |
legend label. Default: "selected scale" |
col.OF |
line color for objective function. Default: "#DC143C" |
col.PF |
line color for plateau function. Default: "black" |
col.nIV |
line color for normalized intrasegment variance. Default: "#6495ED" |
col.nMI |
line color for normalized Moran's I. Default: "#8B4513" |
col.sSl |
point color for selected scale parameter. Default: "gold" |
selected.Scale.size |
scale size of selected point. Default: 4 |
selected.Scale.shape |
shape of selected point. Default: 1 |
selected.Scale.stroke |
width of outline of selected point. Default: 1.2 |
... |
ggplot-theme options |
ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.