View source: R/Selbal_Functions.R
selbal.aux  R Documentation 
The balance defined in the order its variables were selected
selbal.aux(x, y, th.imp = 0, covar = NULL, logit.acc = "AUC",
logt = T, maxV = 1e+10, zero.rep = "bayes")
x 
a 
y 
the response variable, either continuous or dichotomous. 
th.imp 
the minimum increment needed when adding a new variable into the balance, in order to consider an improvement. 
covar 

logit.acc 
when 
logt 
a logical value indicating if the data needs to be logtransformed. 
maxV 
the number maximum of variables defining the balance. 
A data.frame
with the following objects:
Taxa
the name of the taxa added into the balance.
Group
NUM if the variable is added into the numerator
and DEN if it is added in the denominator.
# Load data set
load("HIV.rda")
# Define x and y
x < HIV[,1:60]
y < HIV[,62]
# Run the algorithm
Bal < selbal.aux(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.