rep_mat: repeat the vector as a matrix

View source: R/evaluation_functions.R

rep_matR Documentation

repeat the vector as a matrix

Description

repeat the vector as a matrix

Usage

rep_mat(x, k)

Arguments

x

input vector to repeat

k

number of time to repeat

Value

a matrix of k columns


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.