is_procmod_frame: Check if an object is a ProcMod Frame.

Description Usage Arguments Value Author(s) Examples

View source: R/procmod_frame.R

Description

Check if an object is a ProcMod Frame.

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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)

ProcMod documentation built on May 12, 2021, 9:08 a.m.