convPlot {combi} | R 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

    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")

[Package combi version 1.0.0 Index]