|
直接呼叫函數名,不代括弧就可以。例如:
> candleChart
function (x, subset = NULL, type = "candlesticks", show.grid = TRUE,
name = deparse(substitute(x)), time.scale = NULL, log.scale = FALSE,
TA = "addVo()", theme = chartTheme("black"), major.ticks = "auto",
minor.ticks = TRUE, color.vol = TRUE, multi.col = FALSE,
...)
{
do.call("chartSeries", list(x, subset = subset, name = name,
type = "candlesticks", show.grid = show.grid, time.scale = time.scale,
log.scale = log.scale, TA = substitute(TA), theme = theme,
major.ticks = major.ticks, minor.ticks = minor.ticks,
color.vol = color.vol, multi.col = multi.col, ...))
}
|