autoplot.tournament {bdrc}R Documentation

Autoplot method for discharge rating curve tournament

Description

Compare the four discharge rating curves from the tournament object in different ways

Usage

## S3 method for class 'tournament'
autoplot(object, ..., type = "deviance")

Arguments

object

an object of class "tournament"

...

other plotting parameters (not used in this function)

type

a character denoting what type of plot should be drawn. Possible types are

  • "deviance" to plot the deviance of the four models.

Value

returns an object of class "ggplot2".

See Also

tournament to run a discharge rating curve tournament and summary.tournament for summaries.

Examples


library(ggplot2)
data(krokfors)
set.seed(1)
t_obj <- tournament(formula=Q~W,data=krokfors,num_cores=2)
autoplot(t_obj)


[Package bdrc version 1.1.0 Index]