r:baseball_data
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
r:baseball_data [2017/06/05 09:00] – hkimscil | r:baseball_data [2017/06/05 11:37] – hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
{{: | {{: | ||
{{: | {{: | ||
Line 46: | Line 49: | ||
dev.copy(png, | dev.copy(png, | ||
dev.off() | dev.off() | ||
+ | |||
label <- names(data2) | label <- names(data2) | ||
Line 51: | Line 55: | ||
color <- c(" | color <- c(" | ||
pie(val, | pie(val, | ||
- | savePlot(" | + | dev.copy(png, filename="baseball_regend.png") |
+ | dev.off() | ||
+ | </ | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | < | ||
# | # | ||
Line 69: | Line 79: | ||
par(new=T) | par(new=T) | ||
| | ||
- | plot(line2, | + | plot(line2, |
axis(4, | axis(4, | ||
mtext(side=4, | mtext(side=4, | ||
Line 77: | Line 87: | ||
legend(18, | legend(18, | ||
- | |||
- | savePlot(" | ||
- | |||
- | |||
</ | </ | ||
+ | {{: | ||
r/baseball_data.txt · Last modified: 2019/09/18 08:00 by hkimscil