ScalarToVector: Turning variable into vector if scalar.

Description Usage Arguments Value

Description

Turning variable into vector if scalar.

Usage

1
ScalarToVector(scalar, reps)

Arguments

scalar

The variable to be turned into a vector if not of length reps.

reps

The length that the variable should have.

Value

A vector of length reps, with scalar repeated until the appropriate length is achieved.


gpapadog/LERCA documentation built on June 4, 2019, 11:40 a.m.