Learn R Programming

Ecdat (version 0.3-4)

nuclearWeaponStates: Nations with nuclear weapons

Description

Data on the 9 nuclear-weapon states as of April 2019.

Usage

data(nuclearWeaponStates)

Arguments

Format

A dataframe containing :

nation

The name of the country (character). The former USSR is listed here as Russia.

ctry

ISO 31661- alpha-2 two-letter country codes (character).

firstTest

Date of first test of a nuclear weapon.

For Israel, which has not publicly acknowledged that it has nuclear weapons, this uses the Date of the Vela Incident.

firstTestYr

lubridate::decimal_date(firstTest)

yearsSinceLastFirstTest

c(NA, diff(firstTestYr))

nuclearWeapons

number of nuclear weapons

nYieldNA, nLowYield, nMidYield, nHighYield

number of weapons for wich the yield in (nYieldNA) = unknown or variable, (nLowYield) = at most 15 kt (kilotons), the size of the Hiroshima bomb, (nMidYield) = greater than 15 but less that 50 kt, and (nHighYield) = at least 50 kt.

Examples

Run this code
# NOT RUN {
data(nuclearWeaponStates)
plot(yearsSinceLastFirstTest~firstTest, 
    nuclearWeaponStates, type='h', xlab='', ylab='')
with(nuclearWeaponStates, 
  text(firstTest, yearsSinceLastFirstTest, ctry))
# }

Run the code above in your browser using DataLab