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
>vec<-5:8>vec[0]
integer(0)
> nth(vec, n=0)
[1] NA
My data frame has some missing data, so sometimes the boolean inside the which is all false, and then which returns integer(0). So my actual use case looks something like this:
Here's a toy example:
The text was updated successfully, but these errors were encountered: