R中“ =”和“ <-”赋值运算符有什么区别?

问题:

What are the differences between the assignment operators = and <- in R? R中赋值运算符=<-之间有什么区别? this

I know that operators are slightly different, as this example shows 我知道运算符略有不一样,如本例所示 spa

x <- y <- 5
x = y = 5
x = y <- 5
x <- y = 5
# Error in (x <- y) = 5 : could not find function "<-<-"

But is this the only difference? 但这是惟一的区别吗? .net


解决方案:

参考一: https://stackoom.com/question/7J7s/R中-和-lt-赋值运算符有什么区别
参考二: https://oldbug.net/q/7J7s/What-are-the-differences-between-and-assignment-operators-in-R
相关文章
相关标签/搜索