Package: maxcovr 0.1.3.9200

maxcovr: A Set of Tools For Solving The Maximal Covering Location Problem

Solving the "maximal covering location problem" as described by Church can be difficult for users not familiar with linear programming. maxcovr provides functions to make it easy to solve this problem, and tools to calculate facility coverage.

Authors:Nicholas Tierney [aut, cre], Mark Padgham [aut]

maxcovr_0.1.3.9200.tar.gz
maxcovr_0.1.3.9200.zip(r-4.7)maxcovr_0.1.3.9200.zip(r-4.6)maxcovr_0.1.3.9200.zip(r-4.5)
maxcovr_0.1.3.9200.tgz(r-4.6-x86_64)maxcovr_0.1.3.9200.tgz(r-4.6-arm64)maxcovr_0.1.3.9200.tgz(r-4.5-x86_64)maxcovr_0.1.3.9200.tgz(r-4.5-arm64)
maxcovr_0.1.3.9200.tar.gz(r-4.7-arm64)maxcovr_0.1.3.9200.tar.gz(r-4.7-x86_64)maxcovr_0.1.3.9200.tar.gz(r-4.6-arm64)maxcovr_0.1.3.9200.tar.gz(r-4.6-x86_64)
maxcovr_0.1.3.9200.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
maxcovr/json (API)
NEWS

# Install 'maxcovr' in R:
install.packages('maxcovr', repos = c('https://njtierney.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/njtierney/maxcovr/issues

Pkgdown/docs site:https://njtierney.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

distancelinear-programmingcpp

5.89 score 46 stars 56 scripts 24 exports 34 dependencies

Last updated from:6a1b24b9df. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK160
linux-devel-x86_64OK163
source / vignettesOK228
linux-release-arm64OK142
linux-release-x86_64OK160
macos-release-arm64OK108
macos-release-x86_64OK199
macos-oldrel-arm64OK117
macos-oldrel-x86_64OK196
windows-develOK153
windows-releaseOK172
windows-oldrelOK140
wasm-releaseOK133

Exports:augment_facility_relocatedaugment_user_testedbinary_matrix_cppcoveragedeg2rad_cppdistance_matrix_cppfacility_user_distfacility_user_indicis.maxcovris.maxcovr_relocationmax_coveragemax_coverage_relocationn_installedn_relocatednearestnearest_facility_distspherical_distancespherical_distance_cppspherical_distance_cpp_vecsummarise_coveragesummarise_relocated_distsummarise_user_covsummary_mc_cvsummary_mc_cv_relocate

Dependencies:bitbit64clicliprcpp11crayondplyrgenericsgluehmslifecyclelpSolvemagrittrpillarpkgconfigprettyunitsprogresspurrrR6RcppreadrRglpkrlangslamstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Using Cross Validation with maxcovr

Rendered fromcross_validation_with_maxcovr.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2018-07-20
Started: 2016-12-07

Using max_coverage_relocation

Rendered fromusing_max_coverage_relocation.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2018-07-20
Started: 2017-01-18

Using maxcovr

Rendered fromintro_to_maxcovr.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2018-07-20
Started: 2016-12-03

Readme and manuals

Help Manual

Help pageTopics
Find distance from relocated and proposed new sitesaugment_facility_relocated
Augment users data; add useful informationaugment_user
Nearest wrapperaugment_user_tested
Create a binary matrix TRUE if distance satisfies a conditionbinary_matrix_cpp
Create a summary of the coverage between two dataframescoverage
Convert degrees to radiansdeg2rad_cpp
Create a matrix of distances between two areasdistance_matrix_cpp
(Internal) Summarise maxcovr model using facility and user informationextract_mc_results
(Internal) Summarise maxcovr relocation model with facility and user infoextract_mc_results_relocation
facility_user_distfacility_user_dist
facility_user_indicfacility_user_indic
Test if the object is a maxcovr objectis.maxcovr
Test if the object is a maxcovr_relocation objectis.maxcovr_relocation
Solve the Maximal Covering Location Problemmax_coverage
Maximum Coverage when considering relocationmax_coverage_relocation
Extract the number of facilities installedn_installed
Extract the number of facilities relocated.n_relocated
Find the nearest lat/long to another lat/longnearest
nearest facility + distance to a usernearest_facility_dist
Calculate the distance between two locationsspherical_distance
Calculate distance using haversines formulaspherical_distance_cpp
Calculate (vectorized) distance using haversines formulaspherical_distance_cpp_vec
Summarise coveragesummarise_coverage
Find the average distance from facilities relocated to their final placesummarise_relocated_dist
Summarise the coverage for userssummarise_user_cov
Summary for max_coverage cross validationsummary_mc_cv
Summary for max_coverage cross validation for relocation modelssummary_mc_cv_relocate
York Listed Buildings.york
York Crime Locations.york_crime