Learn R Programming

astrochron (version 1.4)

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