Learn R Programming

⚠️There's a newer version (0.14.0) of this package.Take me there.

capm

capm is a package for R, a free software environment for statistical computing and graphics.

capm stands for Companion Animal Population Management and is an initiative to guide and automate quantitative analysis to support companion animal population management.

Current version offers functions that allow users to implement the following workflow:

  1. Sample size calculation.
  2. Selection of sampling units for simple and complex surveys.
  3. Mapping primary sampling units to be visited (complex surveys).
  4. Estimation of population parameters.
  5. Construction of population pyramids, conditioned on sex, age and another categorical variable such as reproductive status.
  6. Assessment of the effect produced by population management interventions, through mathematical modelling.
  7. Prioritization of interventions according to the effect they produce, through sensitivity analysis.

To install the development version, run install_github("oswaldosantos/capm") in (ideally) RStudio. devtools package must be previously loaded.

To install the production version, run install.packages("capm") in (ideally) RStudio.

If you find any error or have suggestions to improve or include functionality to capm, I will glad to know it. Please get in touch so I can better understand your needs.

Copy Link

Version

Install

install.packages('capm')

Monthly Downloads

357

Version

0.11.0

License

GPL (>= 2)

Maintainer

Oswaldo Santos Baquero

Last Published

May 5th, 2017

Functions in capm (0.11.0)

CalculateLocalSens

Local sensitivity analysis
CalculatePopChange

Population change.
Calculate2StageSampleSize

Two-stage cluster sampling size and composition
CalculateGlobalSens

Global sensitivity analysis
DesignSurvey

Survey design
GraphicInterface

Graphic interface to use some capm functions
MapkmlPSU

Creates *.kml files of a subset of polygons from a polygon shapefile
PlotGlobalSens

Plot results of GlobalSens function
CalculateSimpleSampleSize

Simple random sample size
CalculateStratifiedSampleSize

Stratified random sample size
PlotPopPyramid

Population PlotPopPyramid
SamplePPS

Sampling with probability proportional to size and with replacement
SampleSystematic

Simple and stratified systematic sampling
capm-package

The capm Package
SolveIASA

Modelling of immigration, abandonment, sterilization and adoption of companion animals
SolveSI

Modelling of sterilization and immigration of comapnion animals.
city

Census tracks of Santos, Brazil.
cluster_pilot

Two-stage cluster sample: pilot study
SetRanges

Parameter ranges for global sensitivity analysis
SolveTC

Modelling of reversible contraception for companion animals
SummarySurvey

Summary statistics for sample surveys
cluster_sample

Household data from a two-stage cluster sample
cluster_sample_animals

Owned animal data from a two-stage cluster sample
cluster_sample_animals_lost

Lost owned animals data from a two-stage cluster sample
dogs

Dog population
PlotLocalSens

Plot results of CalculateLocalSens function
PlotModels

Plot results of capm model functions
cats

Cat population
hh

Household data
sys_sample

Household data from a systematic sample
sys_sample_animals

Owned animal data from a systematic sample
sys_sample_animals_lost

Lost owned animals data from a two-stage cluster sample