getdata: Retrieve package data

Description Usage Arguments Details Value Author(s) Examples

Description

Pulls in auxiliary data associated with the package

Usage

1

Arguments

s

The name of a data file (only .rda for now)

Details

Details of the way that R tests and saves data means that data that depend on the package being loaded for their definition (in particular, fitted glmmADMB model objects) cannot be treated as standard data. This is a workaround.

Value

As with load, the values returned are the names of the objects loaded. As a side effect, the objects in the associated files will be loaded in the global workspace.

Author(s)

Ben Bolker

Examples

1
2
3
getdata("OwlModel")
## regular data:
data(package="stats")

bbolker/glmmadmb documentation built on May 11, 2019, 9:29 p.m.