Learn R Programming

astrochron (version 1.4)

delPts: Interactively delete points in plot

Description

Interactively delete points in x,y plot.

Usage

delPts(dat,del=NULL,cols=c(1,2),ptsize=1,xmin=NULL,xmax=NULL,ymin=NULL,ymax=NULL,
       plotype=1,genplot=T,verbose=T)

Arguments

dat

Data frame containing stratigraphic variable(s) of interest. Any number of columns permitted.

del

A vector of indices indicating points to delete. If specified, the interactive plot is disabled.

cols

If you are using the graphical interface, which columns would you like to plot? (default = 1 & 2).

ptsize

Size of plotted points.

xmin

Minimum x-value (column 1) to plot

xmax

Maximum x-value (column 1) to plot

ymin

Minimum y-value (column 2) to plot

ymax

Maximum y-value (column 2) to plot

plotype

Type of plot to generate: 1= points and lines, 2 = points, 3 = lines

genplot

Generate summary plots? (T or F)

verbose

Verbose output? (T or F)

See Also

idPts, iso, trim and trimAT