Learn R Programming

MultiATSM (version 0.3.6)

contain: Check whether one element is a subset of another element

Description

Check whether one element is a subset of another element

Usage

contain(s1, s2)

Arguments

s1

smaller subset

s2

complete set

References

This function is based on the "contain" function by Le and Singleton (2018).
"A Small Package of Matlab Routines for the Estimation of Some Term Structure Models."
(Euro Area Business Cycle Network Training School - Term Structure Modelling). Available at: https://cepr.org/40029