toy_example: Access to toy examples bundled in this package

Description Usage Arguments Value Examples

View source: R/toy.R

Description

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

Usage

1

Arguments

name

Name of the example, default: return all

Value

A named vector of file system paths.

Examples

1
2
3
4
toy_example()

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

mlfit documentation built on Oct. 8, 2021, 9:09 a.m.