-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rc-v2.2.0
- Loading branch information
Showing
71 changed files
with
320 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#' Yearly batting records for all major league baseball players | ||
#' | ||
#' This data frame contains batting statistics for a subset of players | ||
#' collected from \url{http://www.baseball-databank.org/}. There are a total | ||
#' of 21,699 records, covering 1,228 players from 1871 to 2007. Only players | ||
#' with more 15 seasons of play are included. | ||
#' | ||
#' @section Variables: | ||
#' Variables: | ||
#' \itemize{ | ||
#' \item id, unique player id | ||
#' \item year, year of data | ||
#' \item stint | ||
#' \item team, team played for | ||
#' \item lg, league | ||
#' \item g, number of games | ||
#' \item ab, number of times at bat | ||
#' \item r, number of runs | ||
#' \item h, hits, times reached base because of a batted, fair ball without | ||
#' error by the defense | ||
#' \item X2b, hits on which the batter reached second base safely | ||
#' \item X3b, hits on which the batter reached third base safely | ||
#' \item hr, number of home runs | ||
#' \item rbi, runs batted in | ||
#' \item sb, stolen bases | ||
#' \item cs, caught stealing | ||
#' \item bb, base on balls (walk) | ||
#' \item so, strike outs | ||
#' \item ibb, intentional base on balls | ||
#' \item hbp, hits by pitch | ||
#' \item sh, sacrifice hits | ||
#' \item sf, sacrifice flies | ||
#' \item gidp, ground into double play | ||
#' } | ||
#' @docType data | ||
#' @name baseball | ||
#' @usage baseball | ||
#' @format A 21699 x 22 data frame | ||
#' @references \url{http://www.baseball-databank.org/} | ||
#' @keywords datasets | ||
"baseball" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#' Tipping data | ||
#' | ||
#' | ||
#' One waiter recorded information about each tip he received over a | ||
#' period of a few months working in one restaurant. He collected several | ||
#' variables: | ||
#' | ||
#' \itemize{ | ||
#' \item tip in dollars, | ||
#' \item bill in dollars, | ||
#' \item sex of the bill payer, | ||
#' \item whether there were smokers in the party, | ||
#' \item day of the week, | ||
#' \item time of day, | ||
#' \item size of the party. | ||
#' } | ||
#' | ||
#' In all he recorded 244 tips. The data was reported in a collection of | ||
#' case studies for business statistics (Bryant & Smith 1995). | ||
#' | ||
#' @references Bryant, P. G. and Smith, M (1995) \emph{Practical Data | ||
#' Analysis: Case Studies in Business Statistics}. Homewood, IL: Richard D. | ||
#' Irwin Publishing: | ||
#' @format A data frame with 244 rows and 7 variables | ||
#' @keywords datasets | ||
"tips" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.