Learn R Programming

trajectories (version 0.1-2)

stcube: Draw a space-time cube.

Description

Draw a space-time cube.

Usage

## S3 method for class 'Track':
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "l",
	aspect, xlim, ylim, zlim, showMap = FALSE, mapType = "osm", ..., y, z)
## S3 method for class 'Tracks':
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "l",
	aspect, xlim, ylim, zlim, showMap = FALSE, mapType = "osm",
	normalizeBy = "week", ..., y, z, col)
## S3 method for class 'TracksCollection':
stcube(x, xlab = "x", ylab = "y", zlab = "t",
	type = "l", aspect, xlim, ylim, zlim, showMap = FALSE, mapType = "osm",
	normalizeBy = "week", ..., y, z, col)

Arguments

x
An object of class Track, Tracks or TracksCollection.
xlab, ylab, zlab, type, aspect, xlim, ylim, zlim
Arguments passed to plot3d() of package rgl.
showMap
Flag if a basemap is to be shown on the xy plane.
mapType
The tile server from which to get the map. Passed as type to openmap() of package OpenStreetMap.
normalizeBy
An abstract time period (either week or day) to be normalized by.
y, z, col
Ignored, but included in the method signature for implementation reasons.
...
Additional arguments passed to plot3d() of package rgl.

Value

  • A space-time cube.