plotObjectiveFunction: Plot result of Objective Function

View source: R/plotObjectiveFunction.R

plotObjectiveFunctionR Documentation

Plot result of Objective Function

Description

This function plots the result of Lslide::ObjectiveFunction function using ggplot

Usage

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, ...)

Arguments

x

result of function Lslide::ObjectiveFunction

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

Value

ggplot object


ggRaver/Lslide documentation built on April 8, 2022, 7:14 a.m.