wush978 / DataScienceAndR

R語言翻轉教室
www.datascienceandr.org
148 stars 79 forks source link

RBasic-05 大魔王問題 #276

Closed hjhsu closed 8 years ago

hjhsu commented 8 years ago

用來檢驗用的 stopifnot(class(y) == "numeric") 與實際 y 的型別不合,在最後答案中也沒有這部分,不知道是否必要