libraries {struct} | R Documentation

## Libraries for an object

### Description

All `struct` objects have a "libraries" slot, which is a character array of libraries required to use the object. The `libraries` method gathers libraries from an object and all `struct` objects that it inherits to generate a complete list.

### Usage

    libraries(obj)

    ## S4 method for signature 'struct_class'
    libraries(obj)

### Arguments

`obj` | a struct object

### Value

a character array of R packages needed by the object

### Examples

    M = example_model()
    libraries(M)

[Package struct version 1.6.0 Index]