VarGS.plot {gnonadd}R Documentation

Actual variance vs predicted variance plot

Description

This tool creates a line plot that compares the predicted variance of data to its actual variance.

Usage

VarGS.plot(
  qt,
  v_score,
  bins = 10,
  xlab = "Predicted variance",
  ylab = "Variance",
  title = ""
)

Arguments

qt

A numeric vector.

v_score

A numeric vector.

bins

An integer.

xlab

A string.

ylab

A string.

title

A string.

Value

A plot comparing predicted variance to actual variance.

Examples

n_val <- 100000L
v_vec <- exp(rnorm(n_val, 0, 0.1))
qt_vec <- stats::rnorm(n_val, 0, sqrt(v_vec))
VarGS.plot(qt_vec, v_vec)

[Package gnonadd version 1.0.2 Index]