目前分類:R 程式/ Python (5)
- Aug 19 Wed 2020 09:35
Python筆記分享1:Introduction to Data Science in Python->Wk 1-> Python Functions
- Jun 04 Mon 2018 21:46
Python超級入門分享-安裝
- Feb 14 Sun 2016 09:22
R programming-Week 2 Quiz
Question 1
Suppose I define the following function in R
cube <- function(x, n) {
x^3
}
What is the result of running
cube(3)
in R after defining this function? Your Answer Score Explanation An error is returned because 'n' is not specified in the call to 'cube'
The number 27 is returned. Because 'n' is not evaluated, it is not needed even though it is a formal argument. The users is prompted to specify the value of 'n'.
A warning is given with no value returned.
- Feb 14 Sun 2016 07:32
R programming-Week 1 Quiz
最近阿莎在學習Johns Hopkins University在Coursera.org 提供的R Programming課程
老師解說的很清楚,但是內容帶的很快, 有些函式完全沒有解說,因為簡單的函式自已搜尋就可以了。 然而阿莎發現台灣的教學或分享的內容都很簡易,花了好多時間在找文章,因此在此分享阿莎筆記,可以節省很多重覆的搜尋時間。
Quiz 的題目會有少許變化,阿莎的題目和答案為下
- Jan 24 Sun 2016 10:39
R Programming-Week 3 Loop Functions and Debugging