plot_depth: plot_depth: Creates a plot with the diving profile. Adds a...

Description Usage Arguments Value Examples

View source: R/plot_depth.R

Description

plot_depth: Creates a plot with the diving profile. Adds a red line for the zero. Crea un grafico con el perfil de buceos. Marca el cero con una linea roja.

Usage

1
2
3
4
5
plot_depth(
  TDR_trip = TDR_trip,
  depth_column = depth_column,
  time_column = time_column
)

Arguments

TDR_trip

is a data frame with a colum including depth and a column including time (in POSIXct format)

depth_column

must be a numeric value

time_column

must be a date and time (in POSIXct format) (%Y-%m-d %H:%M:%S)

Value

returns a ggplot which stetics can be change using the ggplot2 sintaxis

Examples

1
plot_depth(TDR_trip = TDR_trip,depth_column='Pressure',time_column='daytime')

MiriamLL/spheniscus documentation built on Dec. 17, 2021, 4:17 a.m.