fmbasics (version 0.3.0)

is.Interpolation: Check Interpolation class

Description

These methods check whether an interpolation is of a particular scheme.

Usage

is.Interpolation(x)

is.ConstantInterpolation(x)

is.LogDFInterpolation(x)

is.LinearInterpolation(x)

is.CubicInterpolation(x)

Arguments

x

an object

Value

a logical flag

Examples

Run this code
# NOT RUN {
is.Interpolation(CubicInterpolation())
is.CubicInterpolation(CubicInterpolation())
# }

Run the code above in your browser using DataCamp Workspace