Learn R Programming

MESS (version 0.5.12)

soccer: Danish national soccer players

Description

Players on the Danish national soccer team. The dataset consists of all players who have been picked to play on the men's senior A-team, their position, date-of-birth, goals and matches.

Arguments

Format

A data frame with 805 observations on the following 5 variables.

name

a factor with names of the players

DoB

a Date. The date-of-birth of the player

position

a factor with levels Forward Defender Midfielder Goalkeeper

matches

a numeric vector. The number of A matches played by the player

goals

a numeric vector. The number of goals scored by the player in A matches

Examples

Run this code

data(soccer)

birthmonth <- as.numeric(format(soccer$DoB, "%m"))
birthyear <- as.numeric(format(soccer$DoB, "%Y"))


Run the code above in your browser using DataLab