.rep_matrix {ProcMod}R Documentation

Internal function repeating a matrix.

Description

repeats several times the rows of a matrix to create a new matrix with more rows. The final row count must be a multiple of the initial row count

Usage

.rep_matrix(x, nrow)

Arguments

x

The matrix to replicate

nrow

an interger value specifying the number of row of the returned matrix

Value

a new matrix with the same number of columns but with 'nrow' rows.

Note

Internal function do not use.

Author(s)

Eric Coissac <eric.coissac@metabarcoding.org>

Christelle Gonindard-Melodelima <christelle.gonindard@metabarcoding.org>


[Package ProcMod version 1.0.8 Index]