[問題] 跑模擬疑惑
各位大大好,
近期survey一篇論文剛好有附完整Rcode
其有關衰退模型預測
https://www.tandfonline.com/doi/suppl/10.1080/00401706.2013.805661?scroll=top
備有多個子檔案, 請問該如何執行主程式並且跑模擬?
感謝
檢附
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 5.1
year 2018
month 07
day 02
svn rev 74947
language R
version.string R version 3.5.1 (2018-07-02)
nickname Feather Spray
------------------------------------
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] splines stats graphics grDevices utils datasets methods base
other attached packages:
[1] fda_2.4.8 Matrix_1.2-14
loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1 grid_3.5.1 lattice_0.20-35
---------------
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.3
year 2017
month 11
day 30
svn rev 73796
language R
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese (Traditional)_Taiwan.950 LC_MONETARY=Chinese (Traditional)_Taiwan.950
[4] LC_NUMERIC=C LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3
照 HumuHumu大大說法 應該是先手動完套件再
install.packages("MSBVAR" ,repos = "https://cran.r-project.org/src/contrib/Archive/MSBVAR/MSBVAR_0.9-3.tar.gz")
應該就可以了? 為什麼還是有以下錯誤訊息 ??
Warning in install.packages :
unable to access index for repository https://cran.r-project.org/src/contrib/Archive/MSBVAR/MSBVAR_0.9-3.tar.gz/src/contrib:
cannot open URL 'https://cran.r-project.org/src/contrib/Archive/MSBVAR/MSBVAR_0.9-3.tar.gz/src/contrib/PACKAGES'
Warning in install.packages :
package ‘MSBVAR’ is not available (for R version 3.4.3)
Warning in install.packages :
unable to access index for repository https://cran.r-project.org/src/contrib/Archive/MSBVAR/MSBVAR_0.9-3.tar.gz/bin/windows/contrib/3.4:
cannot open URL 'https://cran.r-project.org/src/contrib/Archive/MSBVAR/MSBVAR_0.9-3.tar.gz/bin/windows/contrib/3.4/PACKAGES'
-----還好另外從GITHUB CLONE就搞定了
https://github.com/cran/MSBVAR
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.14.72
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1536732792.A.B68.html
→
09/12 14:51,
6年前
, 1F
09/12 14:51, 1F
→
09/12 17:49,
6年前
, 2F
09/12 17:49, 2F
→
09/12 17:50,
6年前
, 3F
09/12 17:50, 3F
→
09/13 01:16,
6年前
, 4F
09/13 01:16, 4F
→
09/13 01:18,
6年前
, 5F
09/13 01:18, 5F
→
09/13 01:18,
6年前
, 6F
09/13 01:18, 6F
※ 編輯: sop317 (111.71.54.243), 09/13/2018 01:22:27
→
09/13 01:22,
6年前
, 7F
09/13 01:22, 7F
※ 編輯: sop317 (111.71.54.243), 09/13/2018 01:54:18
推
09/13 09:46,
6年前
, 8F
09/13 09:46, 8F
→
09/13 09:46,
6年前
, 9F
09/13 09:46, 9F
※ 編輯: sop317 (140.112.14.72), 09/16/2018 11:28:51
→
09/16 11:32,
6年前
, 10F
09/16 11:32, 10F
※ 編輯: sop317 (140.112.14.72), 09/16/2018 11:35:39
→
09/16 14:58,
6年前
, 11F
09/16 14:58, 11F
→
09/16 14:59,
6年前
, 12F
09/16 14:59, 12F
→
09/16 14:59,
6年前
, 13F
09/16 14:59, 13F
→
09/16 15:00,
6年前
, 14F
09/16 15:00, 14F
※ 編輯: sop317 (140.112.14.72), 09/17/2018 13:40:27
→
09/17 13:40,
6年前
, 15F
09/17 13:40, 15F
→
09/18 16:15,
6年前
, 16F
09/18 16:15, 16F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章