3/30/2023 0 Comments Lesson 3.3 rcode geometry# "stl_boundary_ll.sbx" "stl_boundary_ll.shp" # "stl_boundary_ll.prj" "stl_boundary_ll.sbn" # "stl_boundary_ll.cpg" "stl_boundary_ll.dbf" List.files(filedirgis) # "nbrhds_wards" "STL-Police-Districts-2014-2" List.files(filedircrime) # "crimeStLouis20132014b.csv" "crimeStLouis20132014b_agg.csv" #to view the files in the directoryįiledirgis <-"D:/geog586/Lesson1/Geog586_Les1_Project/gis/" Getwd() # "D:/GEOG586/Lesson1/Geog586_Les1_Project" #set directory to where the data is so that you can reference these later than typing the directory out again.įiledircrime <-"D:/geog586/Lesson1/Geog586_Les1_Project/crime/" # Attaching package: 'gridExtra' # The following object is masked from 'package:dplyr':Īdd the crime data files that you need #get and set working directory # Please cite ggmap if you use it! See citation("ggmap") for details. # Linking to sp version: 1.4-0 library (ggmap) # Google's Terms of Service. # Path to PROJ.4 shared files: C:/Users/skope/Documents/R/win-library/3.6/rgdal/proj # Path to GDAL shared files: C:/Users/skope/Documents/R/win-library/3.6/rgdal/gdal # Loaded GDAL runtime: GDAL 2.2.3, released 0 # Geospatial Data Abstraction Library extensions to R successfully loaded Library(rgdal) # rgdal: version: 1.4-8, (SVN revision 845) # intersect, setdiff, setequal, union library(doBy) # filter, lag # The following objects are masked from 'package:base': # collapse # The following objects are masked from 'package:stats': # Attaching package: 'dplyr' # The following object is masked from 'package:nlme': # For an introduction to spatstat, type 'beginner' #install.packages("leaflet") # spatstat 1.63-2 (nickname: 'I'm sorry Dave, I'm afraid I can't do that') Library (spatstat) # Loading required package: spatstat.data # Loading required package: nlme # Loading required package: rpart # # to enable gpclib, type gpclibPermit() #install.packages("spatstat") # Note: when rgeos is not available, polygon geometry computations in maptools depend on gpclib, Library(maptools) # Loading required package: sp # Checking rgeos availability: FALSE Add the following list of packages to the following section. Install the package and/or turn on the packages. If you haven’t already installed the packages then do so now. For the analysis you will be using a variety of packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |