convPlot | R Documentation |
Plot the convegrence of the different parameter estimates in a line plot
convPlot(
model,
latent = is.null(View),
nVars = Inf,
Dim = 1L,
View = NULL,
size = 0.125
)
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) |
A ggplot object containing the convergence plot
## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.