Learn R Programming

cvasi (version 1.4.0)

plot_ppc_combi: Create PPC plot for one or more datasets

Description

[Experimental]

Usage

plot_ppc_combi(table, xy_lim = NULL)

Value

a ggplot2 plot object

Arguments

table

data.frame containing return values of calls to plot_ppc()

xy_lim

optional numeric, limits of x and y axis for plotting

Details

The function expects a data.frame with five mandatory and one optional column. The mandatory columns are as follows:

  • pred: mean of predictions e.g. frond number for lemna

  • max: maximum of predictions

  • min: minimum of predictions

  • obs: observations

  • PPC: color code The optional column is to be named study and contains a study identifier. If more than one study identifier is present in the table, individual studies will be plotted in different colors and a legend will be displayed. The function is called by plot_ppc where the column names are defined (see rs_ppc object).