jReturn: Return Function

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/jReturn.R

Description

Compute returns from a price series of an asset.

Return is gain (or loss) rate from an investment to the asset in a time interval.

See the report: Value at Risk.<researchgate.net>

Usage

1

Arguments

s

A price series.

Value

A return series.

Note

viet-hung.vu@jvn.edu.vn

Author(s)

Hung Vu

See Also

https://www.researchgate.net/profile/Vu_Hung4

Examples

1
2
3
y <- c(11, 12, 10, 13, 12, 14, 13, 15, 13, 14, 12)
s <- jReturn(y)
s

jvnVaR documentation built on May 29, 2017, 11:25 a.m.

Search within the jvnVaR package
Search all R packages, documentation and source code