Learn R Programming

spMC (version 0.2.2)

is.tpfit: Object test for tpfit class

Description

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

Usage

is.tpfit(object)

Arguments

Value

A logical value.

Rdversion

1.1

Details

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

See Also

tpfit

Examples

Run this code
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