A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ohdsi.github.io/PatientLevelPrediction/articles/../reference/plotLearningCurve.html below:

plotLearningCurve — plotLearningCurve • PatientLevelPrediction

Create a plot of the learning curve using the object returned from createLearningCurve.

Usage
plotLearningCurve(
  learningCurve,
  metric = "AUROC",
  abscissa = "events",
  plotTitle = "Learning Curve",
  plotSubtitle = NULL,
  fileName = NULL
)
Arguments
learningCurve

An object returned by createLearningCurve function.

metric

Specifies the metric to be plotted:

abscissa

Specify the abscissa metric to be plotted:

plotTitle

Title of the learning curve plot.

plotSubtitle

Subtitle of the learning curve plot.

fileName

Filename of plot to be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Value

A ggplot object. Use the ggsave function to save to file in a different format.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4