is_procmod_frame {ProcMod}R Documentation

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.

Author(s)

Eric Coissac

Christelle Gonindard-Melodelima

Examples

# 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)


[Package ProcMod version 1.0.8 Index]