Description Usage Arguments Value Examples

Draw a space-time cube for a Track, TRacks, TracksCollection, difftrack or STI(DF) class.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ```
## S4 method for signature 'Track'
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "l",
aspect, xlim = stbox(x)[[1]] + c(-0.1,0.1) * diff(stbox(x)[[1]]),
ylim = stbox(x)[[2]] + c(-0.1,0.1) * diff(stbox(x)[[2]]),
zlim = stbox(x)$time, showMap = FALSE, mapType = "osm",
mapZoom = NULL, ..., y, z)
## S4 method for signature 'Tracks'
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "l",
aspect, xlim, ylim, zlim, showMap = FALSE, mapType = "osm",
normalizeBy = "week", mapZoom = NULL, ..., y, z, col)
## S4 method for signature 'TracksCollection'
stcube(x, xlab = "x", ylab = "y", zlab = "t",
type = "l", aspect, xlim, ylim, zlim, showMap = FALSE, mapType = "osm",
normalizeBy = "week", mapZoom = NULL, ..., y, z, col)
## S4 method for signature 'difftrack'
stcube(x, showMap = FALSE, mapType = "osm", normalizeBy = "week", ..., y, z)
## S4 method for signature 'STI'
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "p", aspect,
xlim = stbox(x)[[1]] + c(-0.1,0.1) * diff(stbox(x)[[1]]),
ylim = stbox(x)[[2]] + c(-0.1,0.1) * diff(stbox(x)[[2]]),
zlim = stbox(x)$time,
showMap = FALSE, mapType = "osm", mapZoom = NULL, ..., y, z)
## S4 method for signature 'STIDF'
stcube(x, xlab = "x", ylab = "y", zlab = "t", type = "p", aspect,
xlim = stbox(x)[[1]] + c(-0.1,0.1) * diff(stbox(x)[[1]]),
ylim = stbox(x)[[2]] + c(-0.1,0.1) * diff(stbox(x)[[2]]),
zlim = stbox(x)$time,
showMap = FALSE, mapType = "osm", mapZoom = NULL, col, ..., y, z)
``` |

`x` |
An object of class |

`xlab, ylab, zlab, type, aspect, xlim, ylim, zlim` |
Arguments passed to plot3d() of package |

`showMap` |
Flag if a basemap is to be shown on the xy plane; for this to function, you may need to load library |

`mapType` |
The tile server from which to get the map. Passed as |

`normalizeBy` |
An abstract time period (either |

`mapZoom` |
Set a zoom level for the map used as background. Null will use the osm package default strategie. |

`y, z, col` |
Ignored, but included in the method signature for implementation reasons. |

`...` |
Additional arguments passed to plot3d() of package |

A space-time cube.

1 | ```
## Not run: demo(stcube)
``` |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.