ushr (version 0.1.0)

plot_TTS: Plot time to suppression distribution

Description

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

Usage

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

Run this code
# NOT RUN {
set.seed(1234567)

simulated_data <- simulate_data(nsubjects = 20)

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

plot_TTS(TTSestimates, bins = 5)

# }

Run the code above in your browser using DataLab