楼主: yyy811240
1730 3

【提问】s-plus中 <<- 和<- 有什么区别,都是赋值? [推广有奖]

  • 0关注
  • 0粉丝

小学生

21%

还不是VIP/贵宾

-

威望
0
论坛币
15 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
70 点
帖子
1
精华
0
在线时间
9 小时
注册时间
2009-7-20
最后登录
2017-2-14

楼主
yyy811240 发表于 2009-7-30 16:32:01 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
rt,谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:PLUS Plu 提问

回帖推荐

mfr1988926 发表于2楼  查看完整内容

在R里可以用?'

本帖被以下文库推荐

yy

沙发
mfr1988926 发表于 2009-7-31 10:49:30
在R里可以用?'<-'参看<-跟<<-的区别:
    The operators <- and = assign into the environment in which they are evaluated. The operator <- can be used anywhere, whereas the operator = is only allowed at the top level (e.g., in the complete expression typed at the command prompt) or as one of the subexpressions in a braced list of expressions.

    The operators <<- and ->> cause a search to made through the environment for an existing definition of the variable being assigned. If such a variable is found (and its binding is not locked) then its value is redefined, otherwise assignment takes place in the global environment. Note that their semantics differ from that in the S language, but are useful in conjunction with the scoping rules of R. See ‘The R Language Definition’ manual for further details and examples.


同时把《The R Language Definition》也给你

藤椅
ditto025 发表于 2009-8-10 17:09:31
谢谢楼主的大公无私

板凳
lbc_mail 发表于 2011-4-11 09:08:03
谢了,分享快乐

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-10 01:57