Learn R Programming

ProcMod (version 1.0.8)

is_procmod_frame: Check if an object is a ProcMod Frame.

Description

Check if an object is a ProcMod Frame.

Usage

is_procmod_frame(x)

Arguments

x

a R object to test

Value

a logical value equals to TRUE if x is a procmod_frame, FALSE otherwise.

Examples

Run this code
# NOT RUN {
# Builds a procmod_frame with two random matrices
m1 <- simulate_matrix(10,20)
m2 <- simulate_matrix(10,30)
pmf <- procmod_frame(m1 = m1, m2 = m2)

# Returns TRUE
is_procmod_frame(pmf)

# Returns FALSE
is_procmod_frame(3)

# }

Run the code above in your browser using DataLab