R 中的符号 ::: 是什么意思

编程入门 行业动态 更新时间:2024-10-17 17:17:13
本文介绍了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:关键词]

本文发布于:2023-05-01 13:32:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1410113.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:符号

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!