Skip to content

Commit

Permalink
new col drop
Browse files Browse the repository at this point in the history
  • Loading branch information
abfleishman committed Jun 5, 2018
1 parent fbc7cd5 commit 10633be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MakeTrip.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ MakeTrip<-function(tracks,
# if not on a trip (within distance to colony threshold) than give a 0
dataOut$TripNum[is.na(dataOut$TripNum)]<-0

return(dplyr::select_(dataOut,-"InColony"))
return(dataOut[ , -which(names(dataOut) =="InColony")])
}

0 comments on commit 10633be

Please sign in to comment.