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

View source: R/add_points.R

add_pointsR Documentation

Add points or lines to a 3D rayshader plot

Description

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

Usage

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

TBD


vinayudyawer/KUD3D documentation built on Aug. 22, 2023, 9:44 a.m.