baytrends (version 1.1.0)

length.lcens: Length of an Object

Description

Gets the length of a vector: methods for "lcens," "mcens," and "qw" data.

Usage

# S3 method for lcens
length(x)

# S3 method for mcens length(x)

# S3 method for qw length(x)

# S3 method for mcens length(x)

# S3 method for qw length(x)

Arguments

x

a censored-data or water-quality object.

Value

An integer of length 1 indicating the number of elements in x.

Examples

Run this code
# NOT RUN {
length(as.lcens(c(1,3, NA), 2))

# }

Run the code above in your browser using DataLab