plot_TTS: Plot time to suppression distribution

Description Usage Arguments Examples

View source: R/output_processing.R

Description

This function plots a histogram of the time to suppression estimates.

Usage

1
plot_TTS(TTS_output, textsize = 9, bins = 20)

Arguments

TTS_output

output from estimating time to suppression (TTS) values using get_TTS()..

textsize

numeric value for base text size on ggplot. Default is 9.

bins

numeric value indicating the number of bins for the histogram. Default is 20.

Examples

1
2
3
4
5
6
7
set.seed(1234567)

simulated_data <- simulate_data(nsubjects = 20)

TTSestimates <- get_TTS(data = simulated_data, parametric = FALSE)

plot_TTS(TTSestimates, bins = 5)

ushr documentation built on April 22, 2020, 1:05 a.m.