File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ applied to R code:
76
76
77
77
<<demo -code , eval = FALSE >>=
78
78
library(XML )
79
- library(plyr )
80
79
library(reshape )
81
80
# SCRAPE THE DATA FROM WEB
82
81
@@ -94,7 +93,7 @@ save_data = function(y){
94
93
return (tab )
95
94
}
96
95
97
- team.list = llply (years , save_data );
96
+ team.list = lapply (years , save_data );
98
97
mls = merge_recurse(team.list );
99
98
@
100
99
Original file line number Diff line number Diff line change @@ -398,11 +398,6 @@ library(XML)
398
398
399
399
\begin_layout Plain Layout
400
400
401
- library(plyr)
402
- \end_layout
403
-
404
- \begin_layout Plain Layout
405
-
406
401
library(reshape)
407
402
\end_layout
408
403
@@ -486,7 +481,7 @@ save_data = function(y){
486
481
487
482
\begin_layout Plain Layout
488
483
489
- team.list = llply (years, save_data);
484
+ team.list = lapply (years, save_data);
490
485
\end_layout
491
486
492
487
\begin_layout Plain Layout
You can’t perform that action at this time.
0 commit comments