Learn R Programming

astrochron (version 1.4)

sortNave: Remove missing entries, sort data, average duplicates

Description

Sort and average duplicates in stratigraphic series, as performed in 'read' function.

Usage

sortNave(dat,sortDecr=F,ave=T,xmin=NULL,xmax=NULL,genplot=1,verbose=T)

Arguments

dat

Stratigraphic series for processing. First column should be location (e.g., depth), second column should be data value.

sortDecr

Sorting direction? (F=increasing, T=decreasing)

ave

Average duplicate values? (T or F)

xmin

Minimum x-axis value for plotting

xmax

Maximum x-axis value for plotting

genplot

Generate summary plots? 0=none, 1=stratigraphic series, distribution, box plot, Q-Q, 2=stratigraphic series

verbose

Verbose output? (T or F)