- Hands-On Geospatial Analysis with R and QGIS
- Shammunul Islam
- 104字
- 2021-06-10 18:44:22
Basic data types in R
There are three main data types in R, and they are as follows:
- Numerics
- Logical or Boolean
- Character
Numerics are any numbers with decimal values; thus, 21.0 and 21.1 are both numerics. We can use addition, subtraction, multiplication, division, and so on, with these numerics. Interestingly, R also considers integer numbers to be numerics. Logical or Boolean data consists of TRUE and FALSE; they are mainly used for different comparisons. The character variable consists of text, such as the name of something. We write character values in R by putting our character values inside "", or double quotes.
推薦閱讀
- 錯(cuò)覺:AI 如何通過數(shù)據(jù)挖掘誤導(dǎo)我們
- 計(jì)算機(jī)控制技術(shù)
- Apache Hive Essentials
- Visual Basic從初學(xué)到精通
- 控制系統(tǒng)計(jì)算機(jī)仿真
- 樂高機(jī)器人—槍械武器庫
- 網(wǎng)站前臺(tái)設(shè)計(jì)綜合實(shí)訓(xùn)
- 網(wǎng)中之我:何明升網(wǎng)絡(luò)社會(huì)論稿
- 走近大數(shù)據(jù)
- Linux嵌入式系統(tǒng)開發(fā)
- 重估:人工智能與賦能社會(huì)
- 數(shù)據(jù)要素:全球經(jīng)濟(jì)社會(huì)發(fā)展的新動(dòng)力
- Hands-On SAS for Data Analysis
- Machine Learning with Spark(Second Edition)
- 智能+:制造業(yè)的智能化轉(zhuǎn)型