as.ses: Creates or tests for 'ses'.

Description Usage Arguments Details Examples

Description

Creates or tests for 'ses'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

...

Elements to group into an 'ses' object.

x

A object to test.

Details

as.ses coerces an object to class ses. An ses object should contain:

as.ses tests if an object belong to the 'ses' class

is.tdr Test if an object belong to the 'tdr' class

is.stat tests if an object belong to the 'statdives' class

as.tdr coerces an object to class tdr. A TDR table should contain at least columns time and depth in that order.

as.stat coerces an object to class stat.

Examples

1
2
3
4
5
6
7
new.ses <- list(name = "Example", tdr = data.frame(), stat = data.frame())
is.ses(new.ses)
is.stat(new.ses$stat)

new.ses <- as.ses(new.ses)
is.ses(new.ses)
is.stat(new.ses$stat)

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