v {matricks}R Documentation

A shortcut to create a vertical vector

Description

This function provides convenient shortcut to create a vertical (column) vector.

Usage

v(...)

Arguments

...

arbitrary number of values

Value

matrix with dims n_elements x 1

Examples

# Enumerating all the values with commas
v(1, 2, 3)
# Passing whole sequence as an argument
v(1:5)

[Package matricks version 0.8.2 Index]