- 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.
推薦閱讀
- Practical Data Analysis Cookbook
- C語言程序設計習題解析與上機指導(第4版)
- Learning Selenium Testing Tools with Python
- 深入淺出Spring Boot 2.x
- Machine Learning with R Cookbook(Second Edition)
- 編譯系統透視:圖解編譯原理
- Building Serverless Applications with Python
- 可解釋機器學習:模型、方法與實踐
- Geospatial Development By Example with Python
- QGIS 2 Cookbook
- SQL Server 入門很輕松(微課超值版)
- 小程序從0到1:微信全棧工程師一本通
- Mastering Unreal Engine 4.X
- Java Web 從入門到項目實踐(超值版)
- Learning Node.js for Mobile Application Development