Computes and plots bootstrapped portfolio efficient frontiers, with optional bullet points for GMV portfolios and tangency portfolios.
bootEfronts(
returns,
pspec,
rf = 0.003,
npoints = 20,
B = 3,
Seed = NULL,
gmv = TRUE,
maxSR = FALSE,
xlim = NULL,
ylim = NULL,
k.sigma = 2,
k.mu = 2,
digits = 4,
figTitle = NULL
)
No value returned, instead a bootstrapped efficient frontiers plot with options described in the above details.
A multivarite xts returns object
PortfolioAnalytics portfolio specification object
Risk-free rate as a decimal, default 0.003
Number of points on efficient frontier, default 10
Number of bootstrap samples, default 3
Seed of bootstrap random number generator, default NULL
Logical variable, default TRUE
Logical variable, default FALSE
Numeric x axis plot limits, default NULL
Numeric y axis plot limits, default NULL
Numeric value
Numeric value
Number of significant digits for numeric values
Optional figure title, default NULL
k.sigma controls horizontal axis plotting range if xlim = NULL, and k.mu controls vertical axis plotting range if ylim = NULL. Adjust k.mu and k.sigma to eliminate plot "Line out of bounds" Warnings. gmv = TRUE to display a bullet at global minimum variance portfolio maxSR = TRUE to display a bullet at tangency portfolio