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.5)maxcovr_0.1.3.9200.zip(r-4.4)maxcovr_0.1.3.9200.zip(r-4.3)
maxcovr_0.1.3.9200.tgz(r-4.4-x86_64)maxcovr_0.1.3.9200.tgz(r-4.4-arm64)maxcovr_0.1.3.9200.tgz(r-4.3-x86_64)maxcovr_0.1.3.9200.tgz(r-4.3-arm64)
maxcovr_0.1.3.9200.tar.gz(r-4.5-noble)maxcovr_0.1.3.9200.tar.gz(r-4.4-noble)
maxcovr_0.1.3.9200.tgz(r-4.4-emscripten)maxcovr_0.1.3.9200.tgz(r-4.3-emscripten)
maxcovr.pdf |maxcovr.html
maxcovr/json (API)
NEWS

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

Peer review:

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

Pkgdown:https://maxcovr.njtierney.com

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

On CRAN:

distancelinear-programmingcpp

6.05 score 43 stars 43 scripts 24 exports 35 dependencies

Last updated 23 days agofrom:6a1b24b9df. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-win-x86_64OKNov 26 2024
R-4.5-linux-x86_64OKNov 26 2024
R-4.4-win-x86_64NOTENov 26 2024
R-4.4-mac-x86_64NOTENov 26 2024
R-4.4-mac-aarch64NOTENov 26 2024
R-4.3-win-x86_64NOTENov 26 2024
R-4.3-mac-x86_64NOTENov 26 2024
R-4.3-mac-aarch64NOTENov 26 2024

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:bitbit64clicliprcpp11crayondplyrfansigenericsgluehmslifecyclelpSolvemagrittrpillarpkgconfigprettyunitsprogresspurrrR6RcppreadrRglpkrlangslamstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Using Cross Validation with maxcovr

Rendered fromcross_validation_with_maxcovr.Rmdusingknitr::rmarkdownon Nov 26 2024.

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

Using max_coverage_relocation

Rendered fromusing_max_coverage_relocation.Rmdusingknitr::rmarkdownon Nov 26 2024.

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

Using maxcovr

Rendered fromintro_to_maxcovr.Rmdusingknitr::rmarkdownon Nov 26 2024.

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