- 3
- 0
- 约 12页
- 2016-02-21 发布于北京
- 举报
The differences between the R list and vector data types.doc
The differences between the R list and vector data types
Introduction
Since programming language has been widely used in every field in analysing the data and statistical researches across the world, a powerful and convenient software has been strongly needed to keep up with the advanced techniques and easy to manipulate at the same time(Lopez-de-Lacalle,2006). The high level language called R has been created to provide a flexible programming environment for data analysis and statistical researches (Crawley, 2013). Based on two existing languages, which are‘S’by Becker, Chambers and Wilks and‘Scheme’by Sussman(Crawley, 2013).The R programming environment appears to be similar to S language while the grammatical statements are derived from Scheme(Crawley,2013).
It has been suggested by Crawley (2013) that large number of things could be achieved in R environment. Everything achieved in R is an object which is included in a class (Lopez-de-Lacalle, 2006). Data frames, matrices and list and so on are available objects in R language(Gaedener, 2012), and further method could be applied based on the attribute of these objects (Lopez-de-Lacalle, 2006). Data items could be shown in two forms, which are numbers and text values (Gaedener, 2012). The structures and forms of these data items could also be expressed differently (Gaedener, 2012). In R language environment, all kinds of forms or structures of data could be recognised and put into specific use (Gaedener, 2012). As is suggested by Gaedener (2012), vector, matrix, data frame and list are presented to be different structures of data items (Fig.1).
This paper mainly focused on two different forms of data items, which are vector and list. Definitions of vector and list would be described separately and examples are used to support the explanations. List and vector form are then compared to show a better understanding and might be helpful to put into further use.
Fig.1 Data types in R
Vector in R
Ve
您可能关注的文档
最近下载
- 数字图像处理图像编码.ppt VIP
- 湖北城市建设职业职业技术学院2025年高职单招考试城市燃气工程技术专业考试大纲.pdf VIP
- 长帝电烤箱TV42W使用说明书用户手册.pdf
- 气象学与气候学课件.pptx
- 电子科技大学《光电图像处理》 第六章 图像编码与压缩 ppt课件.pptx VIP
- 对外经济贸易大学2021-2022学年《Python程序设计》期末考试试卷(A卷)及标准答案.docx
- 高考数学极值点偏移练习题(含答案).docx VIP
- 化工过程安全管理导则-装置安全规划与设计课件.pptx VIP
- 五脏与情志 jt叔叔 JT叔叔伤寒杂病论慢慢教(.)五脏与情志.doc VIP
- 图像处理与分析图像的编码技术.ppt VIP
原创力文档

文档评论(0)