Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keisuke ANDO
socceR
Commits
c4caf1f0
Commit
c4caf1f0
authored
Oct 19, 2022
by
Takumi Amano
💬
Browse files
[fix]ボールの加速度が参照したくなった
parent
b81373af
Changes
1
Show whitespace changes
Inline
Side-by-side
R/make_data.R
View file @
c4caf1f0
...
@@ -105,7 +105,7 @@ get_action_Allplayer <- function(players,action){
...
@@ -105,7 +105,7 @@ get_action_Allplayer <- function(players,action){
get_pass_Allplayer
<-
function
(
players
,
pass
){
get_pass_Allplayer
<-
function
(
players
,
pass
){
pass
<-
pass
%>%
pass
<-
pass
%>%
dplyr
::
select
(
step
,
ax
,
ay
,
pass_team
=
team
,
ball_x
,
ball_y
,
pass_scc
)
dplyr
::
select
(
step
,
ax
,
ay
,
pass_team
=
team
,
ball_x
,
ball_y
,
ball_vx
,
ball_vy
,
pass_scc
)
output
<-
players
%>%
output
<-
players
%>%
dplyr
::
inner_join
(
pass
,
by
=
"step"
)
dplyr
::
inner_join
(
pass
,
by
=
"step"
)
return
(
output
)
return
(
output
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment