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

is.Interpolation(x)

is.ConstantInterpolation(x)

is.LogDFInterpolation(x)

is.LinearInterpolation(x)

is.CubicInterpolation(x)

is.LinearCubicTimeVarInterpolation(x)

Arguments

x

an object

Value

a logical flag

Examples

is.Interpolation(CubicInterpolation())
#> [1] TRUE
is.CubicInterpolation(CubicInterpolation())
#> [1] TRUE