vec2matrix: Vector to Matrix Conversion

Description Usage Arguments Details Value Author(s)

View source: R/vec2matrix.R

Description

This function converts a vector into a row matrix.

Usage

1
  vec2matrix(object = NULL)

Arguments

object

A vector or a matrix.

Details

If object is already a matrix, object is not modified. If object is not a matrix or a vector, the algorithm is stopped.

Value

Return a row matrix.

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)


sbihorel/optimbase documentation built on Jan. 31, 2022, 1:34 a.m.