Generic Function - nseg

Share:

Description

Generic function

Usage

1
nseg(object)

Arguments

object

Depending on the class of object depends on the method used (and if one exists)

Details

Generic Function

Value

Depends on the class of object, see individual methods

Author(s)

Rebecca Killick

See Also

nseg-methods

Examples

1
2
x=new("cpt") # new cpt object
nseg(x) # returns the number of segments (i.e. length of the cpts slot)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.