我在以下背景下从B. Pfaff的"R中的集成和协整时间序列分析"中看到了这一点.
## Impulse response analysis of SVAR A?type model 1
args (vars ::: irf.svarest) 2
irf.svara <? irf (svar.A, impulse = ”y1 ” , 3
response = ”y2 ” , boot = FALSE) 4
args (vars ::: plot.varirf) 5
plot (irf.svara)
Run Code Online (Sandbox Code Playgroud)
Sha*_*ane 10
从帮助文件(你可以看到这个help(":::")):
The expression 'pkg::name' returns the value of the exported
variable 'name' in package 'pkg' if the package has a name space.
The expression 'pkg:::name' returns the value of the internal
variable 'name' in package 'pkg' if the package has a name space.
Run Code Online (Sandbox Code Playgroud)
换句话说:::,用于直接访问内部包的成员(即不从NAMESPACE导出).
请参阅此相关问题:R:从命名空间调用函数.