desirabilityPlot: Plot desirability profile

Description Usage Arguments Value

View source: R/desirabilityPlot.R

Description

This function creates a graphical representation of the desirability profiles within the data range. It requires a data frame object generated from an optimization function. You can use a simpler data frame to plot the lines and present a more accurate data from another optimization call.

Usage

1
desirabilityPlot(functions, plotData, bestValues, desirab, types)

Arguments

functions

An array of functions

plotData

A data frame generated from an optimization function

bestValues

The optimal mixture composition to be presented

desirab

An array of desirability functions

types

An array of strings containing the attributes to be shown for each desirability function. Currently only accepts "max" or "min"

Value

A ggplot composite object from patchwork


MixOptim documentation built on July 1, 2020, 9:57 p.m.