get.mldr {mldr.datasets}R Documentation

Get a multilabel dataset by name

Description

get.mldr obtains a multilabel dataset, either by finding it inside the package data, in the download directory or by downloading it.

Usage

get.mldr(name, download.dir = if
  (is.null(getOption("mldr.download.dir"))) tempdir() else
  getOption("mldr.download.dir"))

Arguments

name

Name of the dataset to load

download.dir

The path to the download directory, can be also set through options()

Examples

## Not run: 
library(mldr.datasets)
# customize the download directory
options(mldr.download.dir = "./datasets")
# retrieve the bibtex dataset, as an mldr object, into a variable
bibtex <- get.mldr("bibtex")
bibtex$measures

## End(Not run)

[Package mldr.datasets version 0.4.2 Index]