is.tpfit {spMC}R Documentation

Object test for tpfit class

Description

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

Usage

is.tpfit(object)

Arguments

object

object to be tested.

Details

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

Value

A logical value.

Author(s)

Luca Sartore drwolf85@gmail.com

See Also

tpfit

Examples


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)

[Package spMC version 0.3.15 Index]