Learn R Programming

INFOSET (version 4.1)

g_ret: Function to compute gross returns.

Description

Calculate gross returns from prices.

Usage

g_ret(x)

Value

An object of the same class as x with the gross returns

Arguments

x

data object containing ordered price observations