pl.mv: Plot mean-variance simulation result

Description Usage Arguments Examples

View source: R/pl.mv.R

Description

This function is used to plot the result of portfolio simulation by pt.mv().

Usage

1
pl.mv(port)

Arguments

port

:portfolio simulation result from pt.mv()

Examples

1
2
3
4
5
set.seed(1)
rtn <- data.frame(runif(120,-1,1),runif(120,-1,1),runif(120,-1,1),runif(120,-1,1))
names(rtn) <- c("asset1","asset2","asset3","asset4")
portfolio <- pt.hismv(rtn,1000,0)
pl.mv(portfolio)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pl.mv in YRmisc...