【发布时间】:2015-07-14 15:42:28
【问题描述】:
这是一个初学者的问题。
-
^和**有什么区别? 例如:2 ^ 10 [1] 1024 2 ** 10 [1] 1024 有
power(x,y)之类的函数吗?
【问题讨论】:
-
?'**':** is translated in the parser to ^ -
@rawr 谢谢。我应该阅读整个文档页面。它说:
** is translated in the parser to ^, but this was undocumented for many years. ... -
在命令行输入
**也会得到Error: unexpected '^' in "**"
标签: r mathematical-expressions