Book Image

Learning R for Geospatial Analysis

By : Michael Dorman
Book Image

Learning R for Geospatial Analysis

By: Michael Dorman

Overview of this book

Table of Contents (18 chapters)
Learning R for Geospatial Analysis
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
External Datasets Used in Examples
Cited References
Index

Summary


In this chapter, we covered the basic subjects that we are going to use in almost every operation from now on. First, you learned the fundamental methods of working with vectors, including the creation of three common types of vectors, subsetting them, and dealing with missing values in them. You also saw how dates are represented in R, and how such a representation can be useful when working with time series. In addition, we expanded on the function call structure in R, discussed how to define custom functions, and saw how a graphical output can be produced and saved.

In the next chapter, we are going to discuss working with tables in R. We will see that the common tabular data class in R (data.frame) is a direct extension of the vector class. Thus, many of the operations to work with tables will be intuitive once we know how to work with vectors. Later, we will move on to working with spatial data classes, where the principles of working with vectors and tables are also directly...