plot_TTS {ushr} | R Documentation |
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
set.seed(1234567)
simulated_data <- simulate_data(nsubjects = 20)
TTSestimates <- get_TTS(data = simulated_data, parametric = FALSE)
plot_TTS(TTSestimates, bins = 5)
[Package ushr version 0.2.3 Index]