Learn R Programming

DOSPortfolio (version 0.1.0)

ConvexCombination: Computes a convex combination between two vectors.

Description

Computes a convex combination between two vectors.

Usage

ConvexCombination(x1, x2, lambda)

Arguments

x1

a vector.

x2

a vector.

lambda

a numeric value between 0 and 1.

Value

a vector