repl0: Replace values < 0 with 0

repl0R Documentation

Replace values < 0 with 0

Description

Replace all variable values < 0 with 0. If first column is location ID (depth/height/time), it will not be processed. Any number of variables (columns) permitted.

Usage

repl0(dat,ID=T,genplot=T,verbose=T)

Arguments

dat

Data series to process. If location is included (e.g., depth), it should be in the first column.

ID

Is a location ID included in the first column? (T or F)

genplot

Generate summary plots? (T or F)

verbose

Verbose output? (T or F)


astrochron documentation built on June 8, 2025, 10:46 a.m.