Learn R Programming

ProcMod (version 1.0.8)

dim.procmod_frame: Dimensions of a ProcMod Frame.

Description

Dimension 1 is the number of rows (individus) shared by the aggregated matrices. Dimension 2 is the number of aggregated matrices

Usage

# S3 method for procmod_frame
dim(x)

Arguments

x

a procmod_frame object

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)
dim(pmf)

# }

Run the code above in your browser using DataLab