plot_pairs: Plot pairwise parameter distributions

Description Usage Arguments Examples

View source: R/output_processing.R

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

1
2
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

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

simulated_data <- simulate_data(nsubjects = 20)

model_output <- ushr(data = simulated_data)

plot_pairs(model_output)

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