R*******c 发帖数: 249 | 1 比如logit(), bptest(),运行时比如:
> logit(0.5)
Error: could not find function "logit"
应该不是版本低的问题啊,我的R 是两个月前才下的,到底是怎么回事呢?
谢谢 | hs 发帖数: 1549 | 2 library(boot)
【在 R*******c 的大作中提到】 : 比如logit(), bptest(),运行时比如: : > logit(0.5) : Error: could not find function "logit" : 应该不是版本低的问题啊,我的R 是两个月前才下的,到底是怎么回事呢? : 谢谢
| R*******c 发帖数: 249 | 3 谢谢啊,但是只解决了logit的问题,bptest还是没用
还有这个命令是什么意思呢?
【在 hs 的大作中提到】 : library(boot)
| X*********e 发帖数: 253 | 4 what is bptest for
【在 R*******c 的大作中提到】 : 谢谢啊,但是只解决了logit的问题,bptest还是没用 : 还有这个命令是什么意思呢?
| t*****9 发帖数: 19 | 5 Hi, generally, all functions are in the so called "packages", where the most
common are included in R base packages.
1) check which package contains the function you want, for example by
searching in google or http://search.r-project.org/nmz.html
2) install the package you need from the R tool bar windows (say, packages -
-> install packages --> etc)
3) require(the package that contains the function you need)
Hope this helps. | R*******c 发帖数: 249 | 6 It is really helpful
Thanks very much!
most
-
【在 t*****9 的大作中提到】 : Hi, generally, all functions are in the so called "packages", where the most : common are included in R base packages. : 1) check which package contains the function you want, for example by : searching in google or http://search.r-project.org/nmz.html : 2) install the package you need from the R tool bar windows (say, packages - : -> install packages --> etc) : 3) require(the package that contains the function you need) : Hope this helps.
|
|