R/datasets.R

#' Small data set for testing
#' 
#' A dataset consisting of fictitious matches between 3 teams, with team
#' \code{a} being the strongest and team \code{c} the weakest, with a noticeable
#' home field advantage
#' 
#' @format A data frame with 6 rows and 4 columns:
#' \describe{
#'   \item{t1}{Name of home team}
#'   \item{t2}{Name of away team}
#'   \item{s1}{Home team goals}
#'   \item{s2}{Away team goals}
#' }
"m"

#' England soccer data
#' 
#' A dataset containing all matches between the start of the season and May 4 in the 2014-15 season of the English Premier (soccer) league.
#' 
#' @format A data frame with 349 rows and 4 columns:
#' \describe{
#'   \item{t1}{Name of home team}
#'   \item{t2}{Name of away team}
#'   \item{s1}{Home team goals}
#'   \item{s2}{Away team goals}
#' }
"england"
nxskok/poistan documentation built on May 24, 2019, 11:51 a.m.