Description Usage Arguments Details Examples
Creates or tests for 'ses'.
1 2 3 4 5 6 7 8 9 10 11 |
... |
Elements to group into an 'ses' object. |
x |
A object to test. |
as.ses
coerces an object to class ses
. An ses
object should contain:
name The name of the individual.
hash The md5sum hash of the original dataset.
tdr The TDR data.
stat The dives statistics.
delim A data.frame
that stores dive and bottom delimitation results.
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
.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.