convPlot: Plot the convegrence of the different parameter estimates in...

View source: R/convPlot.R

convPlotR Documentation

Plot the convegrence of the different parameter estimates in a line plot

Description

Plot the convegrence of the different parameter estimates in a line plot

Usage

convPlot(
  model,
  latent = is.null(View),
  nVars = Inf,
  Dim = 1L,
  View = NULL,
  size = 0.125
)

Arguments

model

A fitted modelDI object

latent

A boolean, should latent variable trajectory be plotted

nVars

An integer, the number of variables to plot. By default all are plotted

Dim

An integer, the dimension to be plotted

View

An integer or character string, indicating the view to be plotted (if latent = FALSE)

size

The line size (see ?geom_path)

Value

A ggplot object containing the convergence plot

Examples

## Not run: 
data(Zhang)
#Unconstrained
microMetaboInt = combi(
list("microbiome" = zhangMicrobio, "metabolomics" = zhangMetabo),
distributions = c("quasi", "gaussian"), compositional = c(TRUE, FALSE),
logTransformGaussian = FALSE, verbose = TRUE)
## End(Not run)
load(system.file("extdata", "zhangFits.RData", package = "combi"))
convPlot(microMetaboInt)
convPlot(microMetaboInt, Dim = 2)
convPlot(microMetaboInt, View = "microbiome")

CenterForStatistics-UGent/combi documentation built on Aug. 22, 2023, 11:02 p.m.