- Modern R Programming Cookbook
- Jaynal Abedin
- 96字
- 2021-07-08 09:48:30
There's more…
You can create a vector by providing a combination of character, numeric, and logical, but the output will be always a single type. Now, the question is, if you try to create a vector of mixed data types, then what will be the type of output vector? The answer follows the rules as follows:
- A combination of character and any other data type produces a character vector
- A combination of numeric and logical data type produces a numeric vector
- A combination of complex and numeric or logical data type produces a complex vector
推薦閱讀
- Go語言高效編程:原理、可觀測性與優(yōu)化
- Java技術(shù)手冊(原書第7版)
- JavaScript前端開發(fā)與實例教程(微課視頻版)
- Hands-On C++ Game Animation Programming
- The Data Visualization Workshop
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- Mastering Apache Spark 2.x(Second Edition)
- Python爬蟲、數(shù)據(jù)分析與可視化:工具詳解與案例實戰(zhàn)
- OpenCV 3.0 Computer Vision with Java
- Puppet:Mastering Infrastructure Automation
- Sitecore Cookbook for Developers
- 零基礎(chǔ)學(xué)SQL(升級版)
- Java語言程序設(shè)計實用教程(第2版)
- Getting Started with the Lazarus IDE
- Magento 2 Developer's Guide