Skip to contents

Using the curves function to generate points for the curves

The curves function determines x and y values to calculate the points for the curves that represent the generated models in the final plot. It assumes you have installed the cutoffvalue package and loaded the necessary packages (see the Getting Started vignette for more information). If you need help on other topics, please see either the main vignette (Help) or refer to the vignette for another topic.

If nothing is specified (i.e., only “curves()” is typed into the console), this function will use an internal dataset object identified as “cutoffvalue:::exampledata” as the default dataset.

The curves function returns a list of 3 objects to the Environment, which are used by the cutoffplot function when producing the final plot.

curves <- curves(cutoffvalue:::exampledata)