plot_sim: Plot output of single simulation

View source: R/plot_sim.R

plot_simR Documentation

Plot output of single simulation

Description

This function plots the simulation's output using ggplot2.

Usage

plot_sim(
  out,
  input_etf = TRUE,
  input_pointrange = FALSE,
  graylines = TRUE,
  violin = TRUE,
  point = TRUE,
  point_alpha = 0.5,
  pointrange = TRUE,
  labs = TRUE,
  fixed = TRUE,
  idscale = TRUE,
  axlabs = TRUE
)

Arguments

out

The output list of sim_stds() with out="all" specified.

input_etf

Logical. Plot input ETF line.

input_pointrange

Logical. Plot input pointrange with SD.

graylines

Logical. Plot gray lines at input Raw and output accepted values.

violin

Logical. Plot violins for sample and standard distributions.

point

Logical. Plot simulation points.

point_alpha

The alpha value of the points.

pointrange

Logical. Plot the pointrange of the simulations.

labs

Logical. Plot labels with ggrepel.

fixed

Logical. Fix coordinates.

idscale

Logical. Set the scale and fill scales.

axlabs

Logical. Set the axis labels.

Value

A ggplot object.


japhir/stdsim documentation built on May 5, 2023, 8:19 a.m.