plot_parameters_vs_categorical_covariates: Plot parameters vs categorical covariates correlations

View source: R/plot_parameters_vs_categorical_covariates.R

plot_parameters_vs_categorical_covariatesR Documentation

Plot parameters vs categorical covariates correlations

Description

Plots the selected parameters and categorical covariates correlations.

Usage

plot_parameters_vs_categorical_covariates(
  run,
  parameters = NULL,
  covariates = NULL,
  baseline_only = TRUE,
  auto_legend = TRUE
)

Arguments

run

pmxploit NONMEM run object.

parameters

character vector of parameters names. Default is NULL, returning all individual parameters (random and post-hoc).

covariates

character vector of categorical covariates names. Default is NULL, returning all categorical covariates.

baseline_only

logical. Consider only the baseline (= first) values of the subjects. Default is TRUE.

auto_legend

logical. When TRUE (default), default pmxploit plotting options are applied (title, labels, axis...).

Value

A ggplot2 object.

Examples

EXAMPLERUN %>%
  plot_parameters_vs_categorical_covariates(parameters = c("ETCL", "ETV1", "ETKA"),
                                            covariates = c("ISC", "SEX", "STUD"))

pnolain/pmxploit documentation built on Jan. 31, 2024, 1:16 p.m.