Learn R Programming

astrochron (version 1.4)

repl0: 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)