[問題] r讀取問題
[問題類型]:
入門(寫過其他程式,只是對語法不熟悉)
[問題敘述]:
於Rstudio環境下,執行程式範例中的語法出現下列警告,請問可以怎麼排除問題?
Warning message:
3008.TW contains missing values. Some functions will not work if objects
contain missing values in the middle of the series. Consider using na.omit(),
na.approx(), na.fill(), etc to remove or replace them.
[程式範例]:
install.packages("quantmod")
require("quantmod")
library(quantmod)
tw3008=getSymbols("3008.TW",from = "2010-01-01",to = Sys.Date())
[環境敘述]:
Rstudio windows 7
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.38.225.198
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1531043353.A.555.html
推
07/08 20:35,
6年前
, 1F
07/08 20:35, 1F
→
07/08 20:36,
6年前
, 2F
07/08 20:36, 2F
→
07/08 21:54,
6年前
, 3F
07/08 21:54, 3F
→
07/09 10:05,
6年前
, 4F
07/09 10:05, 4F
→
07/09 12:37,
6年前
, 5F
07/09 12:37, 5F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章