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

Description Usage Arguments Value Examples

View source: R/convPlot.R

Description

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

Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(Zhang)
#Unconstrained
microMetaboInt = combi(
list("microbiome" = zhangMicrobio, "metabolomics" = zhangMetabo),
distributions = c("quasi", "gaussian"), compositional = c(TRUE, FALSE),
logTransformGaussian = FALSE, verbose = TRUE)
load(system.file("extdata", "zhangFits.RData", package = "combi"))
convPlot(microMetaboInt)
convPlot(microMetaboInt, Dim = 2)
convPlot(microMetaboInt, View = "microbiome")

combi documentation built on Nov. 8, 2020, 5:34 p.m.

Related to convPlot in combi...