Description Usage Arguments Methods (by class) See Also Examples
Return the last value of an R object.
1 2 3 4 5 6 7 |
x |
an R object. |
... |
further arguments passed to or from methods. |
default
: Assume that x
is a vector or compatible object and return the last value.
uts
: Return the last observation value of a "uts"
object. Unlike method last()
in package xts, arguments n
and keep
are not supported. Instead, this functionality is provided by tail()
and tail_t()
.
start
and end
return, respectively, the first and last obvservation time from a time series.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.