2010-04-20 57 views
8

我碰到这个排在下面的情况下,从B.百福的“综合的分析和协整的时间序列R”什么符号:::平均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) 
+2

你可以看到帮助页面??:::“'。 – Marek 2010-04-20 13:44:15

回答

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. 

换句话说:::被用于直接访问一个包,是内部(即,不是从NAMESPACE导出)的成员。

看到这个相关的问题:R: calling a function from a namespace

+1

谢谢,我真的很讨厌发布这些问题,但谷歌是无用的,帮助文件是非常不友善的编程新手。我可以问一下这个文件有哪些帮助文件? – Milktrader 2010-04-20 13:48:46

+2

只需调用:'help(“:::”)'。 – Shane 2010-04-20 13:52:18

+0

就像广告中那样工作,再次感谢 – Milktrader 2010-04-20 13:58:39