Learn R Programming

mlfit (version 0.5.3)

toy_example: Access to toy examples bundled in this package

Description

Returns the paths to all available toy examples, or to a specific toy example. Load via readRDS().

Usage

toy_example(name = NULL)

Arguments

name

Name of the example, default: return all

Value

A named vector of file system paths.

Examples

Run this code
# NOT RUN {
toy_example()

# Load example with results from Ye et al. (2009)
readRDS(toy_example("Tiny"))
# }

Run the code above in your browser using DataLab