Commit 97256ee1 authored by Takumi Amano's avatar Takumi Amano 💬
Browse files

[fix]get_action_Allplayerの追加

parent de8a994f
...@@ -91,6 +91,14 @@ get_kick <- function(action) { ...@@ -91,6 +91,14 @@ get_kick <- function(action) {
return(output) return(output)
} }
get_action_Allplayer <- function(players,action){
players <- players %>%
dplyr::select(-c("px","py"))
output <- players %>%
dplyr::inner_join(action,by = "step")
return(output)
}
get_pass <- function(kick) { get_pass <- function(kick) {
output <- kick %>% output <- kick %>%
dplyr::mutate(pass_scc = (a_sameteam & !a_sameunum)) %>% dplyr::mutate(pass_scc = (a_sameteam & !a_sameunum)) %>%
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment