Learn R Programming

unusualprofile (version 0.1.4)

plot.maha: Plot objects of the maha class (i.e, the results of the cond_maha function using dependent variables only).

Description

Plot objects of the maha class (i.e, the results of the cond_maha function using dependent variables only).

Usage

# S3 method for maha
plot(
  x,
  ...,
  p_tail = 0,
  family = "sans",
  score_digits = ifelse(min(x$sigma) >= 10, 0, 2)
)

Value

A ggplot2-object

Arguments

x

The results of the cond_maha function.

...

Arguments passed to print function

p_tail

Proportion in violin tail (defaults to 0).

family

Font family.

score_digits

Number of digits to round scores.