whichItemsClassName: Identify the Items in a List with a Class Name

View source: R/analyzeSim.r

whichItemsClassNameR Documentation

Identify the Items in a List with a Class Name

Description

This will identify all the items in a list that are of a class named nameClass. The result is a list with two items. Indices contains the indices (locations) of the items, and names contains the name.

Usage

whichItemsClassName(sim, nameClass = "simResult")

Arguments

sim

Simulation object

nameClass

name of class

Value

list with two items. See description.

Examples

## Not run: whichItemsClassName(sim, "simResult")

rexmacey/aasim documentation built on Oct. 29, 2024, 9:30 a.m.