vec_lowertri_to_mat: Vector to matrix lower triangle

View source: R/RcppExports.R

vec_lowertri_to_matR Documentation

Vector to matrix lower triangle

Description

Create a matrix from a vector

Usage

vec_lowertri_to_mat(vec, col, diag)

Arguments

vec

a numeric vector

col

number of columns of the matrix to create

diag

doe diagonal is included

Value

A vector

Warning

Argument vec must be of the exact same length of the number of cells present in the lower triangle of the amtrix to create.

Author(s)

Sebastian Sosa.


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.