c(
person("Raymond", "Lagonigro", email = "raymond.lagonigro@uvic.cat", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-8091-4296")),
person("Ramon", "Oller", email = "ramon.oller@uvic.cat", role = "aut", comment = c(ORCID = "0000-0002-4333-0021")),
person("Joan Carles", "Martori", email = "martori@uvic.cat", role = "aut", comment = c(ORCID = "0000-0002-8400-5487")))
R (>= 3.3.2), methods, stats, sp, dplyr,
Provides an automatic aggregation tool to manage point data privacy,
intended to be helpful for the production of official spatial data and for researchers.
The package pursues the data accuracy at the smallest possible areas preventing
individual information disclosure. The methodology, based on hierarchical geographic
data structures performs aggregation and local suppression of point data to ensure privacy
as described in Lagonigro, R., Oller, R., Martori J.C. (2017) <doi:10.2436/20.8080.02.55>.
The data structures are created following the guidelines for grid datasets from the
European Forum for Geography and Statistics.
rgeos, rgdal, knitr, devtools, rmarkdown
Raymond Lagonigro [aut, cre] (<https://orcid.org/0000-0002-8091-4296>),
Ramon Oller [aut] (<https://orcid.org/0000-0002-4333-0021>),
Joan Carles Martori [aut] (<https://orcid.org/0000-0002-8400-5487>)

Another Look at the Acceptance-Rejection Method
In mathematics, 'rejection sampling' is a basic technique used to generate observations from a distribution. It is also commonly called 'the Acceptance-Rejection method' or 'Accept-Reject algorithm' and is a type of Monte Carlo method. 'Acceptance-Rejection method' is based on the observation that to sample a random variable one can perform a uniformly random sampling of the 2D cartesian graph, and keep the samples in the region under the graph of its density function. Package 'AR' is able to generate/simulate random data from a probability density function by Acceptance-Rejection method. Moreover, this package is a useful teaching resource for graphical presentation of Acceptance-Rejection method. From the practical point of view, the user needs to calculate a constant in Acceptance-Rejection method, which package 'AR' is able to compute this constant by optimization tools. Several numerical examples are provided to illustrate the graphical presentation for the Acceptance-Rejection Method.