add_points: Add points or lines to a 3D rayshader plot

Description Usage Arguments Value Examples

View source: R/add_points.R

Description

Helper function to add points or lines a 3D rayshader plot

Usage

1
2
add_points(ras, det, zscale, lonlat = FALSE, col = "red", alpha = 0.8,
  line = F, ...)

Arguments

ras

raster object with bathymetry. This is the raster used to create the hillshade nad heightmap of the rayshader 3D plot tag detection data, metadata and station information

det

...

zscale

scaling factor for the depth, indicating depth exaggeration

lonlat

...

col

colour of point or line

alpha

transparency of point or line

line

logical if to plot lines instead of points

...

additional arguments for points3d or lines3d function depending on what your plotting

Value

Adds points or lines to an existing 3D rayshader plot

Examples

1
TBD

vinayudyawer/KUD3D documentation built on March 26, 2020, 12:17 a.m.