VarGS.plot: Actual variance vs predicted variance plot

View source: R/VarGS_assoc_plot.R

VarGS.plotR 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)

gnonadd documentation built on Sept. 22, 2023, 5:07 p.m.