plot_comparison: Compare two models

View source: R/plotting.R

plot_comparisonR Documentation

Compare two models

Description

Plot a comparison of two runs of qpgraph or two runs of qpadm

Usage

plot_comparison(out1, out2, name1 = NULL, name2 = NULL)

Arguments

out1

First model

out2

Second model

name1

Optional name for first model

name2

Optional name for second model

Value

A ggplot object.

Examples

fit1 = qpgraph(example_f2_blocks, example_graph, lsqmode = FALSE)
fit2 = qpgraph(example_f2_blocks, example_graph, lsqmode = TRUE)
plot_comparison(fit1, fit2)

uqrmaie1/admixtools documentation built on Nov. 3, 2024, 12:56 a.m.