| globe {inlabru} | R Documentation | 
Visualize a globe using RGL
Description
Creates a textured sphere and lon/lat coordinate annotations.
This function requires the rgl and sphereplot packages.
Usage
globe(
  R = 1,
  R.grid = 1.05,
  specular = "black",
  axes = FALSE,
  box = FALSE,
  xlab = "",
  ylab = "",
  zlab = ""
)
Arguments
| R | Radius of the globe | 
| R.grid | Radius of the annotation sphere. | 
| specular | Light color of specular effect. | 
| axes | If TRUE, plot x, y and z axes. | 
| box | If TRUE, plot a box around the globe. | 
| xlab,ylab,zlab | Axes labels | 
Value
No value, used for plotting side effect.
See Also
Other inlabru RGL tools: 
glplot()
Examples
if (interactive() &&
    require("rgl", quietly = TRUE) &&
    require("sphereplot", quietly = TRUE) &&
    bru_safe_sp() &&
    require("sp")) {
  # Show the globe
  globe()
  # Load pantropoical dolphin data
  data("mexdolphin", package = "inlabru")
  # Add mesh, ship transects and dolphin sightings stored
  # as inla.mesh, SpatialLines and SpatialPoints objects, respectively
  glplot(mexdolphin$mesh, alpha = 0.2)
  glplot(mexdolphin$samplers, lwd = 5)
  glplot(mexdolphin$points, size = 10)
}
[Package inlabru version 2.11.1 Index]