- 博客(5)
- 收藏
- 关注
原创 R fundamentals :flow control
文章目录R flow controlguideline of flow controlconditional statementifelse ifswitchvectorized iflooping statementrepeatwhileforadvanced loopingapplyifused for conditional executionelse ifswitchvectorized ...
2018-12-08 23:16:46 645
原创 R fundamentals: functions
function input the data and the data is proceeded by the function.Finally a data will be returned. 2 benefits of the function resusablilty increase the abstract layer codes: students.total.marks=fu...
2018-12-07 23:59:46 196
原创 R fundamentals 3:data frame, matrix and array
文章目录dataframedata.frame() to create a dataframedata frame is like a spreadsheet with row numbers and column namescommon operation on data framesubsetting: extract element(s)use index numbers to extrac...
2018-12-06 22:17:10 573
原创 R fundamental 2: vector, factor and list
文章目录data structures conceptdata structures are containers1.what kind of item to put in?2.how to arrange the item in the data structure?basic classes: object are in different classesvectorshomogenousge...
2018-11-28 11:55:15 457
原创 R fundamentals 1:variables, operators and vectorized operations
variables and environment match.score=300 match.score make custom environment test=new.env() assign new variable in the custom environment test$x=300 get variables from a custom environment test$x ...
2018-11-26 00:16:37 228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人