Rev 68948 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/datasets/man/euro.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2007 R Core Team% Distributed under GPL 2 or later\name{euro}\docType{data}\alias{euro}\alias{euro.cross}\title{Conversion Rates of Euro Currencies}\description{Conversion rates between the various Euro currencies.}\usage{euroeuro.cross}\format{\code{euro} is a named vector of length 11, \code{euro.cross} amatrix of size 11 by 11, with dimnames.}\details{The data set \code{euro} contains the value of 1 Euro in allcurrencies participating in the European monetary union (AustrianSchilling ATS, Belgian Franc BEF, German Mark DEM, Spanish Peseta ESP,Finnish Markka FIM, French Franc FRF, Irish Punt IEP, Italian LiraITL, Luxembourg Franc LUF, Dutch Guilder NLG and Portuguese EscudoPTE). These conversion rates were fixed by the European Union onDecember 31, 1998. To convert old prices to Euro prices, divide bythe respective rate and round to 2 digits.The data set \code{euro.cross} contains conversion rates between thevarious Euro currencies, i.e., the result of\code{outer(1 / euro, euro)}.}\examples{cbind(euro)## These relations hold:euro == signif(euro, 6) # [6 digit precision in Euro's definition]all(euro.cross == outer(1/euro, euro))## Convert 20 Euro to Belgian Franc20 * euro["BEF"]## Convert 20 Austrian Schilling to Euro20 / euro["ATS"]## Convert 20 Spanish Pesetas to Italian Lira20 * euro.cross["ESP", "ITL"]require(graphics)dotchart(euro,main = "euro data: 1 Euro in currency unit")dotchart(1/euro,main = "euro data: 1 currency unit in Euros")dotchart(log(euro, 10),main = "euro data: log10(1 Euro in currency unit)")}\keyword{datasets}