Contents
What is the purpose of the rastervis package?
The rasterVis package complements the raster and the terra packages, providing a set of methods for enhanced visualization and interaction. It defines visualization methods for quantitative data and categorical data, with levelplot, both for univariate and multivariate rasters.
How to make a plot with rastervispackage?
(The rasterVispackage implements a number of Lattice-type plots for raster data sets.) # basic plotlevelplot(tree)
How are slope and direction displayed in rastervis?
The magnitude (slope) and direction (aspect) of the vector field is usually displayed with a set of arrows (e.g. quiver in Matlab). rasterVis includes a method, vectorplot, to calculate and display this vector field. If the Raster* object passed to vectorplot is a vector field ( isField=TRUE ), the terrain calculation is skipped.
Where can I find the stable version of rastervis?
The stable release of rasterVis can be found at CRAN. The development version is at GitHub . Install the stable version with: You can install the development version with the remotes package: or with the devtools package:
How to make a plot with raster and rastervis?
4.2Hovmöller 4.3Horizon plot 4.4Hovmöller plots – a second example 1Examples of the use of the raster package to read and analyze raster data sets 1.1Preliminaries The following files will be used here, and are available on the SFTP server, in the folders /nc_files and /Rmaps:
What are margins and prediction packages in R?
The margins and prediction packages are a combined effort to port the functionality of Stata’s (closed source) margins command to (open source) R.
Which is the default theme of rastervis, rastertheme?
As a side effect, the colorkey is labeled differently. The previous plots used the default theme of rasterVis, rasterTheme, using the magma palette provided by the viridisLite package. The other palettes provided by this package are available through the viridisTheme, infernoTheme, and plasmaTheme functions.