plot_pairs {ushr} | R Documentation |
Plot pairwise parameter distributions
Description
This function creates pairwise scatterplots of the estimates parameters. The default plotting method requires GGally; if this package is not available, base R is used instead.
Usage
plot_pairs(model_output, type = "biphasic", textsize = 9,
pointsize = 1, linesize = 0.5)
Arguments
model_output |
output from model fitting using ushr(). |
type |
character string indicating whether the biphasic or single phase fits should be plotted. Must be either "biphasic", "single", or "triphasic". Defaults to "biphasic". |
textsize |
numeric value for base text size. Default is 9. |
pointsize |
numeric value for point size. Default is 1. |
linesize |
numeric value for line width; only used for GGally plots. Default is 0.5. |
Examples
set.seed(1234567)
simulated_data <- simulate_data(nsubjects = 20)
model_output <- ushr(data = simulated_data)
plot_pairs(model_output)
[Package ushr version 0.2.3 Index]