Learn R Programming

wideRhino (version 1.0.2)

CVAbiplot: Plot the CVA biplot

Description

Plot the CVA biplot

Usage

CVAbiplot(
  x,
  which.var = 1:x$p,
  var.label = FALSE,
  group.col = NULL,
  zoom.out = 50
)

Value

A CVA biplot based on the GSVD

Arguments

x

Object from CVA

which.var

which variable to display on the biplot

var.label

whether to display label for variable name

group.col

vector of colours for the groups in the data

zoom.out

percentage to zoom out of the plot

Examples

Run this code
data(sim_data)
CVAgsvd(X=sim_data[,2:301],group = sim_data[,1])|>
CVAbiplot(group.col=c("tan1","darkcyan","darkslateblue"),which.var = 1:10,zoom.out=80)

Run the code above in your browser using DataLab