Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cmerikson committed Sep 7, 2023
1 parent 13df946 commit 4b521fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport Shiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ server <- function(input, output) {
}
distance(Movement)

Transport = Transport[,TotalDistance:=rowSums(Transport[,2:16],na.rm=T)]
Transport = Transport[,TotalDistance:=(do.call(pmax,c(Transport[,-1],na.rm=T)))]

transport_data(Transport)

Expand Down

0 comments on commit 4b521fe

Please sign in to comment.