View source: R/VarGS_assoc_plot.R
VarGS.plot | R Documentation |
This tool creates a line plot that compares the predicted variance of data to its actual variance.
VarGS.plot(
qt,
v_score,
bins = 10,
xlab = "Predicted variance",
ylab = "Variance",
title = ""
)
qt |
A numeric vector. |
v_score |
A numeric vector. |
bins |
An integer. |
xlab |
A string. |
ylab |
A string. |
title |
A string. |
A plot comparing predicted variance to actual variance.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.