Learn R Programming

xpose.xtras (version 0.0.2)

ipred_vs_ipred: Compare model predictions

Description

For two models in an xpose_set, these functions are useful in comparing individual and population predictions

Usage

ipred_vs_ipred(
  xpdb_s,
  ...,
  .inorder = FALSE,
  type = "pls",
  title = "Individual prediction comparison | @run",
  subtitle = "Ofv: @ofv, Eps shrink: @epsshk",
  caption = "@dir",
  tag = NULL,
  log = NULL,
  guide = TRUE,
  facets,
  .problem,
  quiet
)

pred_vs_pred( xpdb_s, ..., .inorder = FALSE, type = "pls", title = "Population prediction comparison | @run", subtitle = "Ofv: @ofv, Eps shrink: @epsshk", caption = "@dir", tag = NULL, log = NULL, guide = TRUE, facets, .problem, quiet )

Value

The desired plot

Arguments

xpdb_s

<xpose_set> object

...

See <two_set_dots>

.inorder

See <two_set_dots>

type

Passed to xplot_scatter

title

Plot title

subtitle

Plot subtitle

caption

Plot caption

tag

Plot tag

log

Log scale covariate value?

guide

Add guide line?

facets

Additional facets

.problem

Problem number

quiet

Silence output

Examples

Run this code

pheno_set %>%
  ipred_vs_ipred(run5,run15)

pheno_set %>%
  pred_vs_pred(run5,run15)

Run the code above in your browser using DataLab