ty_delim: Extract indices from "delim" table using a regexp-like syntax

Description Usage Arguments Examples

Description

Extract indices from "delim" table using a regexp-like syntax

Usage

1
ty_delim(ty = "!_/", no = NULL, obj = ind(), no_match = "ignore")

Arguments

ty

a kind of regular expression to subet diving periods of a TDR dataset.

no

the dive numbers to extract.

obj

a "ses" object.

...

arguments to be passed to check_nomtch

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data(exses)
ind(exses)

str(tmp <- ty_delim('_', no = 60))
str(tmp <- ty_delim('_&!', no = 60))
str(tmp <- ty_delim('_&!&~', no = 60))

str(tmp <- ty_delim('_', no = 60:62))
str(tmp <- ty_delim('!_/', no = 60:62))

str(tmp <- ty_delim('-&!&_&/&~', no = 60:62))
str(tmp <- ty_delim('-!&/~', no = 60:62))

str(tmp <- ty_delim('-!|/~', no = 60:62))
str(tmp <- ty_delim('-(!|/)~', no = 60:62))

str(tmp <- ty_delim('-(!|/)&~', no = 60:62))

str(tmp <- ty_delim("-&(__)|(/~)&//", no = 60:62))

SESman/rbl documentation built on May 9, 2019, 11:10 a.m.