length: Length of an Object

length.lcensR Documentation

Length of an Object

Description

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

Usage

## S3 method for class 'lcens'
length(x)

## S3 method for class 'mcens'
length(x)

## S3 method for class 'qw'
length(x)

## S3 method for class 'mcens'
length(x)

## S3 method for class '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


length(as.lcens(c(1,3, NA), 2))


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.