| plot.tab | R Documentation | 
Plots the cross - validated summary table
## S3 method for class 'tab'
plot(dat, col = c("steelblue1", "tomato1"))
| dat | the  | 
| col | vector with two colors, each of them referring to the variables appearing in the numerator and in the denominator, respectively. | 
A colored table with the information of the given data.frame:
The first column of the table ( a variables has been selected for a balance.
The second column (Global) shows the result for the balance obtained using all the available samples.
The last three columns represent the most repeated balances in the cross - validation procedure.
#---------------------------------------------------#
# 1) Compute a cross - validated balance selection
#---------------------------------------------------#
 # Load data set
   load("HIV.rda")
  # Define x and y
    x <- HIV[,1:60]
    y <- HIV[,62]
 # Run the algorithm
    CV.Bal <- selbal.cv(x,y)
#----------------------------------------#
# 2) Plot the table
#----------------------------------------#
  plot.tab(CV.Bal[[4]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.