repcol: Repeat each column of a matrix n times

View source: R/utils.R

repcolR Documentation

Repeat each column of a matrix n times

Description

This function repeats each column of a matrix n times

Usage

repcol(x, n)

Arguments

x

is the input matrix

n

is the number of repetitions (can be a vector)

Value

matrix with repeated columns


jtilly/matchingR documentation built on Sept. 24, 2024, 5:42 p.m.