Description Usage Arguments Details Examples
this is a short function for balancing the training data
1 | balance.training.data(x,repncolumnname)
|
x |
trainning dataset as a data frame. should include a column called "model.id", and the repncolumname specified in the argument. |
repncolumnname |
a column in the input data frame indicating which rows (gene trees) belong to the same species tree, default to 'repn' |
For each species tree, equal number of rows are selected for each model in (model.id)
1 2 3 4 5 6 7 8 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.