plot.phontrast_ranking: Plot a rank_contrasts() result directly

View source: R/ranking_plots.R

plot.phontrast_rankingR Documentation

Plot a rank_contrasts() result directly

Description

rank_contrasts() results carry the class "phontrast_ranking", so plot(ranking) draws the rank-agreement plot of plot_rank_agreement() and ggplot2::autoplot(ranking) returns it unprinted.

Usage

## S3 method for class 'phontrast_ranking'
plot(x, ...)

## S3 method for class 'phontrast_ranking'
autoplot(object, ...)

Arguments

x, object

A phontrast_ranking object.

...

Passed on to plot_rank_agreement().

Value

plot() draws the plot and returns it invisibly; autoplot() returns the ggplot2 object unprinted.


phontrast documentation built on Oct. 7, 2026, 5:06 p.m.