replEps: Replace values <= 0 with smallest positive value

replEpsR Documentation

Replace values <= 0 with smallest positive value

Description

Replace all variable values <= 0 with the smallest positive floating-point number (eps) that can be represented on machine. If first column is location ID (depth/height/time), it will not be processed. Any number of variables (columns) permitted.

Usage

replEps(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.