plot_curves: Create ggplot2 object for performance curves.

Description Usage Arguments Value Author(s)

View source: R/plot.R

Description

Method ...

Usage

1
2
3
4
5
6
7
8
9
plot_curves(
  dat,
  monochrome = FALSE,
  invert.x = FALSE,
  fix.y = FALSE,
  main = "Performance curves",
  legend.title = "Performance",
  groups = FALSE
)

Arguments

monochrome

logical defining if a monochrome color scheme is used (default: FALSE).

invert.x

logical indicating if the X-axis is printed from 1 ("feature remaining", FALSE) or 0 ("landscape under protection", TRUE).

main

character string title for the plot (deafault: 'Performance curves').

legend.title

character string title for legend (default: 'Performance) .

groups

logical indicating whether the plotted data is groups or not (default: FALSE).

x

data frame of curves of groups curves data.

fix.x

logical indicating if y-axis should be fixed to [0, 1] (TRUE) or not (FALSE).

Value

ggplot2 object

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com


zonator documentation built on July 8, 2020, 6:18 p.m.