tests/testthat/test-plot-mcvis.R

set.seed(5)
p = 4
n = 50
X = matrix(rnorm(n*p), ncol = p)
X[,1] = X[,2] + rnorm(n, 0, 0.1)

## default plotting
mcvis_result = mcvis(X, standardise_method = "studentise")
plot(mcvis_result, type = "ggplot")
plot(mcvis_result, type = "igraph")
plot(mcvis_result, type = "alt")

Try the mcvis package in your browser

Any scripts or data that you put into this service are public.

mcvis documentation built on July 30, 2021, 9:09 a.m.