nlme.var.vs.cov: Build multiple plots for selected variable vs covariates

View source: R/ggNlme.R

nlme.var.vs.covR Documentation

Build multiple plots for selected variable vs covariates

Description

The type of plot depends on the type of covariate: boxplot for categorical, geom_point and geom_smooth for continuous.

Usage

nlme.var.vs.cov(xpdb, covColNames, nrow = 1, ncol = 1, yVar = "WRES", ...)

Arguments

xpdb

An xpose database object.

covColNames

Character vector of covariates to build the matrix.

nrow

Number of rows.

ncol

Number of columns; if ncol=1, each gtable object is treated separately.

yVar

Variable from xpdb data to build a plot.

...

Parameters to be passed to ggarrange()

Value

List of gtable

Examples

nlme.var.vs.cov(
  xpdb = xpdb_ex_Nlme,
  covColNames = c("sex", "wt", "age"),
  yVar = "WRES",
  nrow = 2,
  ncol = 2
  )

Certara.Xpose.NLME documentation built on April 3, 2025, 7:45 p.m.