length<-.Dasst {Dasst} | R Documentation |
Set the length of an object of class Dasst
.
Description
This sets the length of an object of class
Dasst
.
Usage
## S3 replacement method for class 'Dasst'
length(x) <- value
Arguments
x |
Object of class |
value |
Integer value. Sets the new length of the
|
Details
length<-.Dasst
function extends the S3
length
generic function. It sets the length
of an object of class Dasst
. The
object can be shrinked or extended adding NULL
or
NA
contents.
Value
An integer value corresponding to the actual length of the object.
See Also
Examples
data(plantGrowth)
length(plantGrowth)
length(plantGrowth) <- 8
length(plantGrowth)
[Package Dasst version 0.3.4 Index]