[med-svn] [r-cran-guerry] 01/02: New upstream version 1.6-1

Andreas Tille tille at debian.org
Sat Oct 14 07:08:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-guerry.

commit 41b78a2c79d11cc4904e441e6b69d2d78219dadf
Author: Andreas Tille <tille at debian.org>
Date:   Sat Oct 14 09:07:00 2017 +0200

    New upstream version 1.6-1
---
 .Rinstignore          |   3 ++
 DESCRIPTION           |  27 ++++++++++++++
 MD5                   |  12 +++++++
 NAMESPACE             |   3 ++
 NEWS                  |  31 ++++++++++++++++
 data/Angeville.RData  | Bin 0 -> 4157 bytes
 data/Guerry.RData     | Bin 0 -> 5254 bytes
 data/gfrance.RData    | Bin 0 -> 183684 bytes
 data/gfrance85.RData  | Bin 0 -> 180704 bytes
 man/Angeville.Rd      |  76 +++++++++++++++++++++++++++++++++++++++
 man/Guerry-package.Rd |  97 ++++++++++++++++++++++++++++++++++++++++++++++++++
 man/Guerry.Rd         |  97 ++++++++++++++++++++++++++++++++++++++++++++++++++
 man/gfrance.Rd        |  71 ++++++++++++++++++++++++++++++++++++
 man/gfrance85.Rd      |  69 +++++++++++++++++++++++++++++++++++
 14 files changed, 486 insertions(+)

diff --git a/.Rinstignore b/.Rinstignore
new file mode 100644
index 0000000..50cfe72
--- /dev/null
+++ b/.Rinstignore
@@ -0,0 +1,3 @@
+doc/figs/.*[.]pdf$
+doc/figs
+doc/figs/.*[.]png$
diff --git a/DESCRIPTION b/DESCRIPTION
new file mode 100644
index 0000000..613a4af
--- /dev/null
+++ b/DESCRIPTION
@@ -0,0 +1,27 @@
+Package: Guerry
+Type: Package
+Title: Maps, data and methods related to Guerry (1833) "Moral
+        Statistics of France"
+Version: 1.6-1
+Date: 2014-09-26
+Authors at R: c(person(given = "Michael", family = "Friendly", role=c("aut", "cre"), email="friendly at yorku.ca"),
+            person(given = "Stephane", family = "Dray", role="aut"))
+Author: Michael Friendly [aut, cre], Stephane Dray [aut]
+Maintainer: Michael Friendly <friendly at yorku.ca>
+Encoding: latin1
+Depends: R (>= 2.10)
+Suggests: sp, shapefiles, spdep, ade4, maptools
+Description: This package comprises maps of France in 1830, multivariate data from A.-M. Guerry and others, and statistical and 
+	graphic methods related to Guerry's "Moral Statistics of France". The goal is to facilitate the exploration and
+	development of statistical and graphic methods for multivariate data in a geo-spatial context of historical interest.
+License: GPL
+URL: http://guerry.r-forge.r-project.org/
+LazyLoad: yes
+LazyData: yes
+Repository: CRAN
+Repository/R-Forge/Project: guerry
+Repository/R-Forge/Revision: 25
+Repository/R-Forge/DateTimeStamp: 2014-09-26 12:11:25
+Date/Publication: 2014-09-26 19:03:40
+Packaged: 2014-09-26 12:50:09 UTC; rforge
+NeedsCompilation: no
diff --git a/MD5 b/MD5
new file mode 100644
index 0000000..03fc9e3
--- /dev/null
+++ b/MD5
@@ -0,0 +1,12 @@
+80cb313e124980688e7f2d1534ba87a1 *DESCRIPTION
+195963848221ae8485a2687d34977ed2 *NAMESPACE
+634fa1becdac42ab5761d41abf06b8be *NEWS
+055291234ca38887828ba79127e9baff *data/Angeville.RData
+b6baa7c87e568ea44d57c375fa67997f *data/Guerry.RData
+903ba1c9102ee7e1cc89a3f16b094244 *data/gfrance.RData
+b5f88c46f01f7e7d5d25f383fefb7c1c *data/gfrance85.RData
+0543a444f9982c2ee4e186e2b1b9d2c6 *man/Angeville.Rd
+822e2f3c56b46c5932f66f3ba31d9fdb *man/Guerry-package.Rd
+c4aaf3bcaebcc60cb2f5c95dca7b6883 *man/Guerry.Rd
+818ba27ddb282ff80f1b9c26acf0b7f5 *man/gfrance.Rd
+f380af1f4d3cc65e24540a4f1e01da88 *man/gfrance85.Rd
diff --git a/NAMESPACE b/NAMESPACE
new file mode 100644
index 0000000..5422b1a
--- /dev/null
+++ b/NAMESPACE
@@ -0,0 +1,3 @@
+# all the rest is data
+# v 1.6: removed thinnedSpatialPoly
+#export(thinnedSpatialPoly)
\ No newline at end of file
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..8e6a95e
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,31 @@
+Version 1.6 (2014-09-23)
+	Removed MultiSpat vignette because it is no longer compatible with CRAN policies. The old
+	PDF version will be made available on the R-Forge project page.
+	
+	Removed Suggests: spacemakeR (not on CRAN); moved sp, shapefiles to Suggests:
+	
+	Removed thinSpatialPoly, as this is now provided in maptools
+	
+	Made some examples in gfrance.Rd \dontrun{} to reduce check time
+
+Version 1.5 (2011-11-08)
+	Added back MultiSpat.Rnw vignette with MultiSpat.tex disguised as MultiSpat.Rnw
+	Added NAMESPACE for R 2.14+
+
+Version 1.4 (2010-02-15)
+	Remove temporarily MultiSpat.Rnw vignette
+
+Version 1.3 (2009-11-19)
+	Added thinnedSpatialPoly to calculate thinned maps
+	Added MultiSpat.Rnw vignette
+
+Version 1.2 (2009-11-12)
+	Added MultiSpat.pdf vignette (without .Rnw)
+
+Version 1.1 (2009-10-28)
+	Added Angeville data
+	Released to CRAN
+
+Version 1.0 (2009-10-20)
+   Initial version uploaded to R-Forge
+
diff --git a/data/Angeville.RData b/data/Angeville.RData
new file mode 100644
index 0000000..d5bff55
Binary files /dev/null and b/data/Angeville.RData differ
diff --git a/data/Guerry.RData b/data/Guerry.RData
new file mode 100644
index 0000000..c38c1ed
Binary files /dev/null and b/data/Guerry.RData differ
diff --git a/data/gfrance.RData b/data/gfrance.RData
new file mode 100644
index 0000000..85bace0
Binary files /dev/null and b/data/gfrance.RData differ
diff --git a/data/gfrance85.RData b/data/gfrance85.RData
new file mode 100644
index 0000000..4aa1c16
Binary files /dev/null and b/data/gfrance85.RData differ
diff --git a/man/Angeville.Rd b/man/Angeville.Rd
new file mode 100644
index 0000000..f73ffdf
--- /dev/null
+++ b/man/Angeville.Rd
@@ -0,0 +1,76 @@
+\name{Angeville}
+\Rdversion{1.1}
+\alias{Angeville}
+\docType{data}
+\title{
+Data from d'Angeville (1836) on the population of France
+}
+\description{
+Adolph d'Angeville (1836) presented a comprehensive statistical
+summary of nearly every known measurable characteristic of the French
+population (by department) in his \emph{Essai sur la Statistique de la Population francaise}.
+Using the graphic method of shaded (choropleth) maps 
+invented by Baron Charles Dupin and applied to significant social questions
+by Guerry, Angeville's \emph{Essai} became the
+first broad and general application of principles of graphic representation 
+to national industrial and population data.
+
+The collection of variables in the data frame \code{Angeville}
+is a small subset of over 120 columns presented in 8 tables and many
+graphic maps.
+}
+\usage{data(Angeville)}
+\format{
+  A data frame with 86 observations on the following 16 variables.
+  \describe{
+    \item{\code{dept}}{a numeric vector}
+    \item{\code{Department}}{Department name: a factor with levels \code{Ain} \code{Aisne} ... \code{Vosges} \code{Yonne}}
+    \item{\code{Mortality}}{Mortality: Number of births to give 100 people at age 21 (T1:13)}
+    \item{\code{Marriages}}{Number of marriages per 1000 men aged 21 (T1:15)}
+    \item{\code{Legit_births}}{Annual no. of legitimate births (T2:17)}
+    \item{\code{Illeg_births}}{Annual no. of illegitimate births (T2:18)}
+    \item{\code{Recruits}}{Number of people registered for military recruitment from 1825-1833 (T3:32)}
+    \item{\code{Conscripts}}{Number of inhabitants per military conscript (T3:33)}
+    \item{\code{Exemptions}}{Number of military exemptions per 1000 all of physical causes (T3:47)}
+    \item{\code{Farmers}}{Number of farmers during the census in 1831 (T4:65)}
+    \item{\code{Recruits_ignorant}}{Average number of ignorant recruits per 1000 (T5:69)}
+    \item{\code{Schoolchildren}}{Number of schoolchildren per 1000 inhabitants (T5:71)}
+    \item{\code{Windows_doors}}{Number of windows & doors in houses per 100 inhabitants (T5:72).
+    This is sometimes taken as an indicator of household wealth.}
+    \item{\code{Primary_schools}}{"Number of primary schools (T5:74)}
+    \item{\code{Life_exp}}{Life expectancy in years (T1:9a,9b)}
+    \item{\code{Pop1831}}{Population in 1831}
+  }
+}
+\details{
+
+ID codes for \code{dept} were modified from those in Angeville's tables
+to match those used in \code{\link{Guerry}}.
+
+Angeville's variables are recorded in a variety of different ways and some of 
+these were calculated from other columns in his tables not included here.  As 
+well, the variable names and labels used here were often shortened from the more 
+complete descriptions given by d'Angeville. The notation "(Tn:k)" indicates that 
+the variable used here came from Table n, Column k.
+}
+\source{
+Angeville, A. d' (1836).
+\emph{Essai sur la Statistique de la Population francaise}, Paris: F. Darfour.
+
+The data was digitally scanned from Angeville's tables using OCR software,
+then extensively edited to correct obvious errors and finally subjected to some
+consistency checks using the column totals and ranked values he provided.
+
+}
+\references{
+Whitt, H. P. (2007).
+Modernism, internal colonialism, and the direction of violence: suicide and crimes
+against persons in France, 1825-1830.  Unpublished ms.
+
+
+}
+\examples{
+data(Angeville)
+## maybe str(Angeville) ; plot(Angeville) ...
+}
+\keyword{datasets}
diff --git a/man/Guerry-package.Rd b/man/Guerry-package.Rd
new file mode 100644
index 0000000..cf989cf
--- /dev/null
+++ b/man/Guerry-package.Rd
@@ -0,0 +1,97 @@
+\encoding{latin1}
+\name{Guerry-package}
+\Rdversion{1.1}
+\alias{Guerry-package}
+%\alias{Guerry}
+\docType{package}
+\title{
+Guerry: maps, data and methods related to A.-M. Guerry's "Moral Statistics of France" (1833)
+
+}
+\description{
+Andre-Michel Guerry (1833) was the first to systematically collect and analyze
+social data on such things as crime, literacy and suicide with the view
+to determining social laws and the relations among these variables.  
+He provided the first essentially multivariate and georeferenced spatial data
+on socially important questions, e.g., Is the rate of crime related to education
+or literacy?  How does this vary over the departments of France?
+Are the rates of crime or suicide within departments stable over time?
+
+In an age well before the idea of correlation had been invented, Guerry
+used graphics and statistical maps to try to shed light on such questions.
+In a later work (Guerry, 1864), he explicitly tried to entertain larger questions,
+but with still-limited statistical tools:  Can rates of various crimes be related
+to multiple causes or predictors? Are the rates and ascribable causes in France 
+similar or different to those found in England?
+
+The \pkg{Guerry} package comprises maps of France in 1830, multivariate data from A.-M. Guerry and others, and 
+statistical and graphic methods related to Guerry's \emph{Moral Statistics of France}.
+The goal of providing these as an R package is to facilitate the exploration and
+development of statistical and graphic methods for multivariate data in a
+geo-spatial context.
+}
+\details{
+\tabular{ll}{
+Package: \tab Guerry\cr
+Type: \tab Package\cr
+Version: \tab 1.6-0\cr
+Date: \tab 2014-09-23\cr
+License: \tab GPL\cr
+LazyLoad: \tab yes\cr
+}
+
+Data from Guerry and others is contained in the data frame \code{\link{Guerry}}.
+Because Corsica is often considered an outlier both spatially and
+statistically, the map of France circa 1830, together with the Guerry
+data is provided as \code{SpatialPolygonsDataFrame}s
+in two forms:
+\code{\link{gfrance}} for all 86 departments, and
+and \code{\link{gfrance85}}, for the 85 departments excluding Corsica.
+
+
+}
+\author{
+Michael Friendly and Stephane Dray
+
+Maintainer: Michael Friendly <friendly AT yorku.ca>
+
+}
+\references{
+Dray, S. and Jombart, T. (2009).
+A Revisit Of Guerry's Data: Introducing Spatial Constraints In Multivariate Analysis. 
+Unpublished manuscript.
+
+Brunsdon, C. and Dykes, J. (2007).
+Geographically weighted visualization: interactive graphics
+for scale-varying exploratory analysis.
+Geographical Information Science Research Conference (GISRUK 2007).
+NUI Maynooth, Ireland, April, 2007.
+\url{http://ncg.nuim.ie/gisruk/materials/proceedings/PDF/3C1.pdf}.
+
+
+Friendly, M. (2007). A.-M. Guerry's Moral Statistics of France: Challenges for Multivariable Spatial Analysis.
+ \emph{Statistical Science}, 22, 368-399.
+
+Friendly, M. (2007).
+Supplementary materials for Andr�-Michel Guerry's Moral Statistics of France:
+Challenges for Multivariate Spatial Analysis,
+\url{http://www.math.yorku.ca/SCS/Gallery/guerry/}.
+
+Guerry, A.-M. (1833). \emph{Essai sur la statistique morale de la France} Paris: Crochard.
+English translation: Hugh P. Whitt and Victor W. Reinking, Lewiston, N.Y.: Edwin Mellen Press, 2002.
+
+Guerry, A.-M. (1864).
+\emph{Statistique morale de l'Angleterre compar�e avec la statistique morale de la France, d'apr�s les comptes de l'administration de la justice criminelle en Angleterre et en France, etc.} 
+Paris: J.-B. Bailli�re et fils.
+
+}
+%~~ Optionally other standard keywords, one per line, from file KEYWORDS in ~~
+%~~ the R documentation directory ~~
+\keyword{ 
+package 
+spatial
+}
+
+%\examples{
+%#~~ simple examples of the most important functions ~~
+%}
diff --git a/man/Guerry.Rd b/man/Guerry.Rd
new file mode 100644
index 0000000..5e41354
--- /dev/null
+++ b/man/Guerry.Rd
@@ -0,0 +1,97 @@
+\encoding{latin1}
+\name{Guerry}
+\Rdversion{1.1}
+\alias{Guerry}
+\docType{data}
+%\encoding{latin1}
+\title{
+Data from A.-M. Guerry, "Essay on the Moral Statistics of France"
+}
+\description{
+Andre-Michel Guerry (1833) was the first to systematically collect and analyze
+social data on such things as crime, literacy and suicide with the view
+to determining social laws and the relations among these variables.
+
+The Guerry data frame comprises a collection of 'moral variables' on the 86
+departments of France around 1830.  A few additional variables have been 
+added from other sources.
+}
+\usage{data(Guerry)}
+\format{
+  A data frame with 86 observations (the departments of France) on the following 23 variables.
+  \describe{
+    \item{\code{dept}}{Department ID: Standard numbers for the departments, except for Corsica (200)}
+    \item{\code{Region}}{Region of France ('N'='North', 'S'='South', 'E'='East', 'W'='West', 'C'='Central'). Corsica is coded as NA }
+    \item{\code{Department}}{Department name: Departments are named according to usage in 1830, but without accents.
+    	A factor with levels \code{Ain} \code{Aisne} \code{Allier} ... \code{Vosges} \code{Yonne}}
+    \item{\code{Crime_pers}}{Population per Crime against persons. Source: A2 (Compte g�n�ral, 1825-1830)}
+    \item{\code{Crime_prop}}{Population per Crime against property. Source: A2 (Compte g�n�ral, 1825-1830)}
+    \item{\code{Literacy}}{Percent Read & Write: Percent of military conscripts who can read and write. Source: A2 }
+    \item{\code{Donations}}{Donations to the poor. Source: A2 (Bulletin des lois)}
+    \item{\code{Infants}}{Population per illegitimate birth. Source: A2 (Bureaau des Longitudes, 1817-1821)}
+    \item{\code{Suicides}}{Population per suicide. Source: A2 (Compte g�n�ral, 1827-1830)}
+    \item{\code{MainCity}}{Size of principal city ('1:Sm', '2:Med', '3:Lg'), used as a surrogate for poulation density. Large refers to the top 10, small to the bottom 10; all the rest are classed Medium.
+Source: A1. An ordered factor with levels \code{1:Sm} < \code{2:Med} < \code{3:Lg}}
+    \item{\code{Wealth}}{Per capita tax on personal property. A ranked index based on taxes on personal and movable property per inhabitant.
+Source: A1}
+    \item{\code{Commerce}}{Commerce and Industry, measured by the rank of the number of patents / population. Source: A1}
+    \item{\code{Clergy}}{Distribution of clergy, measured by the rank of the number of Catholic priests in active service / population. Source: A1 (Almanach officiel du clergy, 1829)}
+    \item{\code{Crime_parents}}{Crimes against parents, measured by the rank of the ratio of crimes against parents to all crimes-- Average for the years 1825-1830. Source: A1 (Compte g�n�ral) }
+    \item{\code{Infanticide}}{Infanticides per capita. A ranked ratio of number of infanticides to population-- Average for the years 1825-1830. Source: A1 (Compte g�n�ral) }
+    \item{\code{Donation_clergy}}{Donations to the clergy. A ranked ratio of the number of bequests and donations inter vivios to population-- Average for the years 1815-1824. Source: A1 (Bull. des lois, ordunn. d'autorisation) }
+    \item{\code{Lottery}}{Per capita wager on Royal Lottery. Ranked ratio of the proceeds bet on the royal lottery to population--- Average for the years 1822-1826. Source: A1 (Compte rendus par le ministre des finances)}
+    \item{\code{Desertion}}{Military disertion, ratio of the number of young soldiers accused of desertion to the force of the military contingent, minus the deficit produced by the insufficiency of available billets-- Average of the years 1825-1827.
+Source: A1 (Compte du ministere du guerre, 1829 etat V) }
+    \item{\code{Instruction}}{Instruction. Ranks recorded from Guerry's map of Instruction. Note: this is inversely related to \code{Literacy} (as defined here)}
+    \item{\code{Prostitutes}}{Prostitutes in Paris.
+Number of prostitutes registered in Paris from 1816 to 1834, classified by the department of their birth
+Source: Parent-Duchatelet (1836), \emph{De la prostitution en Paris}}
+    \item{\code{Distance}}{Distance to Paris (km). Distance of each department centroid to the centroid of the Seine (Paris)
+Source: cakculated from department centroids }
+    \item{\code{Area}}{Area (1000 km^2). Source: Angeville (1836) }
+    \item{\code{Pop1831}}{1831 population. Population in 1831, taken from Angeville (1836), \emph{Essai sur la Statistique de la Population fran�ais}, in 1000s }
+  }
+}
+\details{
+Note that most of the variables (e.g., \code{Crime_pers}) are scaled so that 'more is better' morally.
+
+Values for the quantitative variables displayed on Guerry's maps were taken from Table A2 in the 
+English translation of Guerry (1833) by Whitt and Reinking. 
+Values for the ranked variables were taken from Table A1, with some corrections applied. 
+The maximum is indicated by rank 1, and the minimum by rank 86.
+
+ 
+}
+\source{
+Angeville, A. (1836). \emph{Essai sur la Statistique de la Population fran�aise} Paris: F. Doufour.
+
+Guerry, A.-M. (1833). \emph{Essai sur la statistique morale de la France} Paris: Crochard.
+English translation: Hugh P. Whitt and Victor W. Reinking, Lewiston, N.Y. : Edwin Mellen Press, 2002.
+
+Parent-Duchatelet, A. (1836). \emph{De la prostitution dans la ville de Paris}, 3rd ed, 1857,  p. 32, 36
+}
+\references{
+Dray, S. and Jombart, T. (2009). A Revisit Of Guerry's Data: Introducing
+Spatial Constraints In Multivariate Analysis. Unpublished manuscript.
+
+Brunsdon, C. and Dykes, J. (2007). 
+Geographically weighted visualization: interactive graphics
+for scale-varying exploratory analysis. 
+Geographical Information Science Research Conference (GISRUK 07),
+NUI Maynooth, Ireland, April, 2007.
+
+Friendly, M. (2007). A.-M. Guerry's Moral Statistics of France: Challenges for Multivariable Spatial Analysis.
+ \emph{Statistical Science}, 22, 368-399.
+
+Friendly, M. (2007). Data from A.-M. Guerry, Essay on the Moral Statistics of France (1833),
+ \url{http://www.math.yorku.ca/SCS/Gallery/guerry/guerrydat.html}.
+}
+\seealso{
+\code{\link{Angeville}} for other analysis variables
+}
+
+\examples{
+data(Guerry)
+## maybe str(Guerry) ; plot(Guerry) ...
+}
+\keyword{datasets}
diff --git a/man/gfrance.Rd b/man/gfrance.Rd
new file mode 100644
index 0000000..ad054ff
--- /dev/null
+++ b/man/gfrance.Rd
@@ -0,0 +1,71 @@
+\encoding{latin1}
+\name{gfrance}
+\Rdversion{1.1}
+\alias{gfrance}
+\docType{data}
+\title{
+Map of France in 1830 with the Guerry data
+}
+\description{
+\code{gfrance} is a SpatialPolygonsDataFrame object created with the
+\code{sp} package, containing the polygon boundaries of the map of
+France as it was in 1830, together with the \code{\link{Guerry}}
+data frame.
+}
+\usage{data(gfrance)}
+\format{
+  The format is:
+Formal class 'SpatialPolygonsDataFrame' [package "sp"] with 5 slots: \code{gfrance at data},
+\code{gfrance at polygons}, \code{gfrance at plotOrder}, \code{gfrance at bbox}, \code{gfrance at proj4string}.
+See: \code{\link[sp]{SpatialPolygonsDataFrame}} for descriptions of some components.
+
+The analysis variables  are described in  \code{\link{Guerry}}.
+}
+\details{
+In the present version, the PROJ4 projection is not specified.
+}
+\source{
+Friendly, M. (2007).
+Supplementary materials for Andr�-Michel Guerry's Moral Statistics of France:
+Challenges for Multivariate Spatial Analysis,
+\url{http://www.math.yorku.ca/SCS/Gallery/guerry/}.
+
+}
+\references{
+Friendly, M. (2007). A.-M. Guerry's Moral Statistics of France: Challenges for Multivariable Spatial Analysis.
+ \emph{Statistical Science}, 22, 368-399.
+}
+\seealso{
+\code{\link{Guerry}} for description of the analysis variables
+\code{\link{Angeville}} for other analysis variables
+}
+\examples{
+data(gfrance)
+names(gfrance)  ## list @data variables
+plot(gfrance)   ## just show the map outline
+
+# Show basic choropleth plots of some of the variables
+spplot(gfrance, "Crime_pers")
+spplot(gfrance, "Crime_prop")
+
+# Note that spplot assumes all variables are on the same scale for comparative plots
+# transform variables to ranks (as Guerry did)
+ 
+\dontrun{
+local({
+  gfrance$Crime_pers <- rank(gfrance$Crime_pers)
+  gfrance$Crime_prop <- rank(gfrance$Crime_prop)
+  gfrance$Literacy <- rank(gfrance$Literacy)
+  gfrance$Donations <- rank(gfrance$Donations)
+  gfrance$Infants <- rank(gfrance$Infants)
+  gfrance$Suicides <- rank(gfrance$Suicides)
+   	
+  spplot(gfrance, c("Crime_pers", "Crime_prop", "Literacy", "Donations", "Infants", "Suicides"), 
+    layout=c(3,2), as.table=TRUE, main="Guerry's main moral variables")
+}) 
+}
+}
+\keyword{
+datasets
+spatial
+}
diff --git a/man/gfrance85.Rd b/man/gfrance85.Rd
new file mode 100644
index 0000000..573b1ed
--- /dev/null
+++ b/man/gfrance85.Rd
@@ -0,0 +1,69 @@
+\encoding{latin1}
+\name{gfrance85}
+\Rdversion{1.1}
+\alias{gfrance85}
+\docType{data}
+\title{
+Map of France in 1830 with the Guerry data, excluding Corsica
+}
+\description{
+\code{gfrance85} is a SpatialPolygonsDataFrame object created with the
+\code{sp} package, containing the polygon boundaries of the map of
+France as it was in 1830, together with the \code{\link{Guerry}}
+data frame.  This version excludes Corsica, which is an outlier
+both in the map and in many analyses.
+}
+\usage{data(gfrance85)}
+\format{
+  The format is:
+Formal class 'SpatialPolygonsDataFrame' [package "sp"] with 5 slots: \code{gfrance85 at data},
+\code{gfrance85 at polygons}, \code{gfrance85 at plotOrder}, \code{gfrance85 at bbox}, \code{gfrance85 at proj4string}.
+See: \code{\link[sp]{SpatialPolygonsDataFrame}} for descriptions of some components.
+
+The analysis variables  are described in  \code{\link{Guerry}}.
+}
+\details{
+In the present version, the PROJ4 projection is not specified.
+}
+\source{
+Friendly, M. (2007).
+Supplementary materials for Andr�-Michel Guerry's Moral Statistics of France:
+Challenges for Multivariate Spatial Analysis,
+\url{http://www.math.yorku.ca/SCS/Gallery/guerry/}.
+
+}
+\references{
+Dray, S. and Jombart, T. (2009). A Revisit Of Guerry's Data: Introducing
+Spatial Constraints In Multivariate Analysis. Unpublished manuscript.
+
+Friendly, M. (2007). A.-M. Guerry's Moral Statistics of France: Challenges for Multivariable Spatial Analysis.
+ \emph{Statistical Science}, 22, 368-399.
+}
+\examples{
+data(gfrance85)
+require(sp)
+plot(gfrance85)   # plot the empty outline map
+
+# extract some useful components
+df <- data.frame(gfrance85)[,7:12]       # main moral variables
+xy <- coordinates(gfrance85)             # department centroids
+dep.names <- data.frame(gfrance85)[,6]
+region.names <- data.frame(gfrance85)[,5]
+col.region <- colors()[c(149,254,468,552,26)]
+
+if (require(spdep)) {
+  lw <- nb2listw(poly2nb(gfrance85))       # neighbors list
+}
+
+# plot the map showing regions by color with department labels
+op <-par(mar=rep(0.1,4))
+plot(gfrance85,col=col.region[region.names])
+text(xy, labels=dep.names, cex=0.4)
+par(op)
+
+
+}
+\keyword{
+datasets
+spatial
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-guerry.git



More information about the debian-med-commit mailing list