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.


ANTs documentation built on July 3, 2022, 1:05 a.m.