Skip to contents

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)
)

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.

Value

A ggplot2-object