楼主: whx229
5009 12

[问答] 反函数法产生随机变量程序求助 [推广有奖]

11
nuomin 发表于 2014-10-19 08:26:52
fortr_cc 发表于 2014-10-18 07:32
not quite understand what you mean, i think he wanted sth that can be controlled by an input n, st ...
主要是想和楼主说在R中编程要用向量函数,不要像C那样循环,R里还有虚拟函数。提醒一下总是不坏的。

12
ljf2007 发表于 2014-10-19 20:41:29
都是大神

13
whx229 发表于 2014-10-20 07:26:19
Thanks for all guys help me, as you guys suggested, I tried some methods and finally make this problem fixed. Actually we can write a short and simple code for this. anyway, thanks!

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 08:05