You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: \code{first(x)} is not an exact replacement for \code{x[1]}. It differs in its handling of zero-length vectors (returning a zero-length vector instead of \code{NA}) and does not preserve attributes like names.
23
+
}
21
24
\value{
22
25
If no other arguments are supplied it depends on the type of \code{x}. The first/last item
23
26
of a vector or list. The first/last row of a \code{data.frame} or \code{data.table}.
0 commit comments