Learn R Programming

BayesMultMeta (version 0.1.1)

duplication_matrix: Duplication matrix

Description

This function creates the duplication matrix of size \(p^2 \times p(p+1)/2\)

Usage

duplication_matrix(p)

Arguments

p

Integer which specifies the dimension of the duplication matrix.

Value

a matrix of size \(p^2 \times p(p+1)/2\)