- 博客(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
171
原创 R fundamentals: functions
functioninput the data and the data is proceeded by the function.Finally a data will be returned.2 benefits of the functionresusabliltyincrease the abstract layercodes: students.total.marks=fu...
2018-12-07 23:59:46
110
原创 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
193
原创 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
209
原创 R fundamentals 1:variables, operators and vectorized operations
variables and environmentmatch.score=300match.scoremake custom environmenttest=new.env()assign new variable in the custom environmenttest$x=300get variables from a custom environmenttest$x...
2018-11-26 00:16:37
214
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人