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
Personally, I'd find it useful if gfirst()/glast() would accept a na.rm argument. This would then return the first/last non missing element of a vector (within each group).
For consistency I guess also first()/last() should then accept a na.rm argument. Although I'm not sure what this would mean if a non-atomic object (i.e. a data.frame) was passed. Maybe the flag should only be honored if is.atomic(x) && nargs() == 1L?
The text was updated successfully, but these errors were encountered:
Personally, I'd find it useful if
gfirst()
/glast()
would accept ana.rm
argument. This would then return the first/last non missing element of a vector (within each group).For consistency I guess also
first()
/last()
should then accept ana.rm
argument. Although I'm not sure what this would mean if a non-atomic object (i.e. adata.frame
) was passed. Maybe the flag should only be honored ifis.atomic(x) && nargs() == 1L
?The text was updated successfully, but these errors were encountered: