Description Usage Arguments Value See Also Examples
This function creates a new mldr
object from the data
stored in a data.frame
, taking as labels the columns pointed by the
indexes given in a vector.
1 | mldr_from_dataframe(dataframe, labelIndices, attributes, name)
|
dataframe |
The |
labelIndices |
Vector containing the indices of attributes acting as labels. Usually the
labels will be at the end (right-most columns) or the beginning (left-most columns) of the |
attributes |
Vector with the attributes type, as returned by the |
name |
Name of the dataset. The name of the dataset given as first parameter will be used by default |
An mldr object containing the multilabel dataset
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.