- Hands-On Geospatial Analysis with R and QGIS
- Shammunul Islam
- 118字
- 2021-06-10 18:44:22
Variable
Just before digging any deeper, we need to know how to assign values to any variable. So, what is a variable? It's like a container, which holds different value(s) of different types (or the same type). When assigning multiple values to any variable, we write the variable name to the left, followed by an <- or = and then the value. So, if we want to assign 2 to a variable x, we can write either of the two:
x <- 2
or
x = 2
I find the latter convenient, although the R community prefers to use the former – my suggestion is to use one which you find more convenient.
推薦閱讀
- 大數據技術與應用基礎
- 大學計算機基礎:基礎理論篇
- 空間機器人遙操作系統及控制
- Blockchain Quick Start Guide
- 數控銑削(加工中心)編程與加工
- PyTorch深度學習實戰
- 機艙監測與主機遙控
- Docker Quick Start Guide
- Docker on Amazon Web Services
- 工業自動化技術實訓指導
- MongoDB 4 Quick Start Guide
- Microsoft Dynamics CRM 2013 Marketing Automation
- Raspberry Pi Projects for Kids
- Microsoft System Center Data Protection Manager Cookbook
- Machine Learning in Java