Learn R Programming

spMC (version 0.3.15)

is.tpfit: Object test for tpfit class

Description

Function to test if an object is of the class tpfit.

Usage

is.tpfit(object)

Value

A logical value.

Arguments

object

object to be tested.

Author

Luca Sartore drwolf85@gmail.com

Details

The function returns TRUE if and only if its argument is a tpfit object.

See Also

tpfit

Examples

Run this code
# \donttest{
data(ACM)

# Estimate the parameters of a 
# one-dimensional MC model
MoPa <- tpfit(ACM$MAT5, ACM[, 1:3], c(0, 0, 1))

# Test the object MoPa
is.tpfit(MoPa)
# }

Run the code above in your browser using DataLab