本文介绍了R 中的符号 ::: 是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
限时送ChatGPT账号..我在 B. Pfaff 的R 中综合和协整时间序列分析"的以下上下文中遇到了这一点
I came across this in the following context from B. Pfaff's "Analysis of Integrated and Cointegrated Time Series in 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)
推荐答案
来自帮助文件(你可以用help(":::")
看到这个):
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.
换句话说,:::
用于直接访问内部包的成员(即不是从 NAMESPACE 导出的).
In other words :::
is used to directly access a member of a package that is internal (i.e. not exported from the NAMESPACE).
请参阅此相关问题:R:从命名空间调用函数一>.
这篇关于R 中的符号 ::: 是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论