Learn R Programming

survC1 (version 1.0-3)

VEC2MAT: Vector to Matrix

Description

Making a (PxM) matrix (x',x',x',...,x') from a (Px1) vector, x

Usage

VEC2MAT(vc, dm)

Arguments

vc

A vector

dm

The number of row of the matrix returned