toy_example: Access to toy examples bundled in this package

View source: R/toy.R

toy_exampleR Documentation

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

toy_example()

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

krlmlr/MultiLevelIPF documentation built on Feb. 4, 2024, 9:21 a.m.