- Modern R Programming Cookbook
- Jaynal Abedin
- 130字
- 2021-07-08 09:48:33
Creating a list from a combination of vector, matrix, and data frame
A list is the natural generalization of a data frame in R. A data frame is a rectangular arrangement of rows and columns where each of the columns must be of the same length. A list can contain a variety of heterogeneous objects with various lengths and data types. An array contains only one data type, whereas a list could contain heterogeneous data types of various lengths. In that sense, a list is also a natural generalization of an array. A list is a versatile R object, and it is important to know how it stores elements and how you can access it. In this recipe, you will learn how to create a list and access its elements.
推薦閱讀
- UI設計基礎培訓教程
- Advanced Quantitative Finance with C++
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- 琢石成器:Windows環境下32位匯編語言程序設計
- Elasticsearch for Hadoop
- Jupyter數據科學實戰
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- Python3.5從零開始學
- 軟件工程與UML案例解析(第三版)
- Instant GLEW
- Professional JavaScript
- Mapping with ArcGIS Pro
- JavaScript Mobile Application Development