read_lookup: Function to read an OMX lookup

View source: R/lookup.R

read_lookupR Documentation

Function to read an OMX lookup

Description

This function reads a lookup and its attributes.

Usage

read_lookup(file, name)

Arguments

file

Path name of the OMX file where the lookup resides.

name

Name of the lookup in the OMX file

Value

A list of two elements:

lookup

The lookup vector.

lookup_dim

String, whether the lookup refers to rows or columns.

Examples

omxfile <- omxr_example("skims.omx")
read_lookup(omxfile, "EI")


gregmacfarlane/omxr documentation built on May 7, 2022, 11:42 a.m.