is_procmod_frame {ProcMod} | R Documentation |
Check if an object is a ProcMod Frame.
is_procmod_frame(x)
x |
a R |
a logical
value equals to
TRUE
if x
is a procmod_frame
,
FALSE
otherwise.
Eric Coissac
Christelle Gonindard-Melodelima
# 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)