l*********d 发帖数: 254 | 1 用什么命令才能看到AIC()function 及extractAIC()function里真实的计算过程呢?谢
谢! | A*****n 发帖数: 243 | 2 普通的函数可以直接输入函数名看源代码,
这些经过编译的可以下载包的源代码,然后查相应的
函数名.R文件。
【在 l*********d 的大作中提到】 : 用什么命令才能看到AIC()function 及extractAIC()function里真实的计算过程呢?谢 : 谢!
| l*********d 发帖数: 254 | 3 I tried this:
> getAnywhere(AIC)
A single object matching ‘AIC’ was found
It was found in the following places
package:stats
namespace:stats
with value
function (object, ..., k = 2)
UseMethod("AIC")
Now do you think I should download the package "stats"? I still can not get
it. Could you let me know more? Thanks!
【在 A*****n 的大作中提到】 : 普通的函数可以直接输入函数名看源代码, : 这些经过编译的可以下载包的源代码,然后查相应的 : 函数名.R文件。
| A*****n 发帖数: 243 | 4 因为stats是R自带的吧。可以直接看R的源代码
比如最新的R2.8.0就是http://cran.r-project.org/src/base/R-2/R-2.8.0.tar.gz
get
【在 l*********d 的大作中提到】 : I tried this: : > getAnywhere(AIC) : A single object matching ‘AIC’ was found : It was found in the following places : package:stats : namespace:stats : with value : function (object, ..., k = 2) : UseMethod("AIC") :
| l*********d 发帖数: 254 | |
|