Package: capm 0.13.10

capm: Companion Animal Population Management

Quantitative analysis to support companion animal population management. Some functions assist survey sampling tasks (calculate sample size for simple and complex designs, select sampling units and estimate population parameters) while others assist the modelling of population dynamics. For demographic characterizations and population management evaluations see: "Baquero, et al." (2018), <doi:10.1016/j.prevetmed.2018.07.006>. For modelling of population dynamics see: "Baquero et al." (2016), <doi:10.1016/j.prevetmed.2015.11.009>. For sampling methods see: "Levy PS & Lemeshow S" (2013), "ISBN-10: 0470040076"; "Lumley" (2010), "ISBN: 978-0-470-28430-8".

Authors:Oswaldo Santos Baquero [aut, cre], Marcos Amaku [ctb], Fernando Ferreira [ctb]

capm_0.13.10.tar.gz
capm_0.13.10.zip(r-4.5)capm_0.13.10.zip(r-4.4)capm_0.13.10.zip(r-4.3)
capm_0.13.10.tgz(r-4.4-any)capm_0.13.10.tgz(r-4.3-any)
capm_0.13.10.tar.gz(r-4.5-noble)capm_0.13.10.tar.gz(r-4.4-noble)
capm_0.13.10.tgz(r-4.4-emscripten)capm_0.13.10.tgz(r-4.3-emscripten)
capm.pdf |capm.html
capm/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/oswaldosantos/capm/issues

Datasets:
  • cats - Cat's sample data from Pinhais, Brazil, 2017
  • cluster_sample - Household data from a two-stage cluster sample
  • dogs - Dog's sample data from Pinhais, Brazil, 2017
  • psu_ssu - Census tracts of Pinhais, Brazil.

On CRAN:

23 exports 4 stars 1.03 score 61 dependencies 4 scripts 296 downloads

Last updated 5 years agofrom:a5e1b83eea. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winNOTEAug 21 2024
R-4.5-linuxNOTEAug 21 2024
R-4.4-winNOTEAug 21 2024
R-4.4-macNOTEAug 21 2024
R-4.3-winNOTEAug 21 2024
R-4.3-macNOTEAug 21 2024

Exports:Calculate2StageSampleSizeCalculateGlobalSensCalculateLocalSensCalculatePopChangeCalculateSimpleSampleSizeCalculateStratifiedSampleSizeDesignSurveyFreqTabGetDataIASAMapkmlPSUPlotGlobalSensPlotHHxSpeciesPlotImmigrationFlowPlotLocalSensPlotModelsPlotPopPyramidSamplePPSSampleSystematicSetRangesSolveIASASolveSISolveTCSummarySurvey

Dependencies:circlizeclassclassIntclicodacolorspacecpp11DBIdeSolvedplyre1071fansifarverFMEgenericsggplot2GlobalOptionsgluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvminpack.lmminqamitoolsmunsellnlmenumDerivpillarpkgconfigproxypurrrR6RColorBrewerRcppRcppArmadillorlangrootSolves2scalessfshapestringistringrsurveysurvivaltibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Readme and manuals

Help Manual

Help pageTopics
The capm Packagecapm-package
Two-stage cluster sampling size and composition (Deprecated)Calculate2StageSampleSize
Global sensitivity analysisCalculateGlobalSens
Local sensitivity analysisCalculateLocalSens
Population change.CalculatePopChange
Simple random sample sizeCalculateSimpleSampleSize
Stratified random sample sizeCalculateStratifiedSampleSize
Cat's sample data from Pinhais, Brazil, 2017cats
Household data from a two-stage cluster samplecluster_sample
Survey designDesignSurvey
Dog's sample data from Pinhais, Brazil, 2017dogs
Frequency table of categorical variablesFreqTab
Get initial values and paramters for IASA model from survey dataGetDataIASA
Creates *.kml files of a subset of polygons from a polygon shapefileMapkmlPSU
Plot results of GlobalSens functionPlotGlobalSens
Distribution of households according to the number of inhabitants one or more speciesPlotHHxSpecies
Plot immigration flowsPlotImmigrationFlow
Plot results of CalculateLocalSens functionPlotLocalSens
Plot results of capm model functionsPlotModels
Population PlotPopPyramidPlotPopPyramid
Census tracts of Pinhais, Brazil.psu_ssu
Sampling with probability proportional to size and with replacementSamplePPS
Simple and stratified systematic samplingSampleSystematic
Parameter ranges for global sensitivity analysisSetRanges
Modelling of immigration, abandonment, sterilization and adoption of companion animalsSolveIASA
Modelling of sterilization and immigration of comapnion animals.SolveSI
Modelling of reversible contraception for companion animalsSolveTC
Summary statistics for sample surveysSummarySurvey