
284 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
8.12 COMPUTER SESSION: SPATIAL ANALYSIS
8.12.1 packaGes anD functions
We will use the spatial analysis spatstat and geostatistics sgeostat R packages. First, install
these packages from the CRAN website if you have not done this yet. Then load the packages. The
command library offers another way of loading an installed package.
>library(spatstat)
>library(sgeostat)
Recall that the packages can be loaded automatically whenever you start the RGui by includ-
ing them in your Rprofile.site file. You can add the following segment to your etc/Rprofile.
site file.
# loading ...