tracePeak {astrochron}R Documentation

A tool to interactively trace peak trajectories on plots

Description

A tool to interactively trace peak trajectories on plots, for results from such functions as eTimeOpt, EHA, eAsm.

Usage

tracePeak(dat,color=2,h=6,w=4,xmin=NULL,xmax=NULL,ymin=NULL,ymax=NULL,ydir=-1,
          ncolors=100,path=1)

Arguments

dat

Data frame with results to evaluate. It must have the following format: column 1=parameter to track (e.g., frequency, sedimentation rate, etc.; x-axis of plot); remaining columns (2 to n)=parameter to evaluate for peak identification (color on plot); titles for columns 2 to n must be the location (depth/height/time; y-axis of plot). Note that this format is ouput by functions eha, eTimeOpt, eAsm.

color

Line color for tracing. 1 = transparent black; 2 = transparent white; 3 = transparent yellow

h

Height of plot in inches.

w

Width of plot in inches.

ydir

Direction for y-axis in plots (depth/height/time). -1 = values increase downwards, 1 = values increase upwards.

xmin

Minimum parameter value to plot.

xmax

Maximum parameter value to plot.

ymin

Minimum depth/height/time to plot.

ymax

Maximum depth/height/time to plot.

ncolors

Number of colors to use in plot.

path

How do you want to represent the path?: 1=lines and points; 2=lines; 3=points

See Also

eha and eTimeOpt


[Package astrochron version 1.0 Index]