Automatically plot and smooth specified stratigraphic data, versus location. Data are smoothed with a Gaussian kernel if desired.
autoPlot(dat,cols=NULL,dmin=NULL,dmax=NULL,vertical=T,ydir=NULL,nrows=NULL,plotype=1,
smooth=0,xgrid=1,output=F,genplot=T,verbose=T)
Your data frame; first column should be location identifier (e.g., depth).
A vector that identifies the columns to extract (first column automatically extracted).
Minimum depth/height/time for plotting.
Maximum depth/height/time for plotting.
Generate vertical stratigraphic plots? (T or F) If F, will generate horizontal plots.
Direction for stratigraphic axis in plots (depth,height,time). If vertical=T, then -1 results in values increasing downwards, while 1 results in values increasing upwards. If vertical=F, then -1 results in values increasing toward the left, while 1 results in values increasing toward the right.
Number of rows in figure (if vertical = T; otherwise this will be the number of columns).
Type of plot to generate: 1= points and lines, 2 = points, 3 = lines
Width (temporal or spatial dimension) for smoothing with a Gaussian kernel (0 = no smoothing); the Gaussian kernel is scaled so that its quartiles (viewed as probability densities, that is, containing 50 percent of the area) are at +/- 25 percent of this value.
For kernal smoothing: (1) evaluate on ORIGINAL sample grid, or (2) evaluate on EVENLY SPACED grid covering range.
Output data frame of smoothed values? (T or F)
Generate summary plots (T or F)
Verbose output (T or F)