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
a202ee9e
Commit
a202ee9e
authored
Dec 09, 2022
by
Takumi Amano
💬
Browse files
[fix]get_passを修正
parent
5dd0d0ff
Changes
1
Show whitespace changes
Inline
Side-by-side
R/make_data.R
View file @
a202ee9e
...
...
@@ -185,7 +185,7 @@ get_pass <- function(kick) {
output
<-
kick
|>
dplyr
::
filter
(
pass
==
TRUE
)
%>%
distinct
(
step
,
.keep_all
=
TRUE
)
%>%
select
(
-
c
(
a_tackle_scc
,
tackle_scc
,
pass
,
a_sameteam
,
a_sameunum
,
next_team
,
next_unum
)
)
dplyr
::
select
(
step
,
team
,
numu
,
px
,
py
,
pvx
,
pvy
,
ball_x
,
ball_y
,
ball_vx
,
ball_vy
,
next_ball_x
,
next_ball_y
,
next_ball_vx
,
next_ball_vy
,
pass
,
pass_scc
)
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