I came across this in the following context from B. Pfaff's "Analysis of Integrated and Cointegrated Time Series in R"
我在以下背景下从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)
1 个解决方案
#1
10
From the help file (you can see this with 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.
In other words :::
is used to directly access a member of a package that is internal (i.e. not exported from the NAMESPACE).
换句话说,:::用于直接访问内部包的成员(即不从NAMESPACE导出)。
See this related question: R: calling a function from a namespace.
请参阅此相关问题:R:从命名空间调用函数。
#1
10
From the help file (you can see this with 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.
In other words :::
is used to directly access a member of a package that is internal (i.e. not exported from the NAMESPACE).
换句话说,:::用于直接访问内部包的成员(即不从NAMESPACE导出)。
See this related question: R: calling a function from a namespace.
请参阅此相关问题:R:从命名空间调用函数。