Git Product home page Git Product logo

growmod's Introduction

growmod

An R package for estimating growth using capture-recapture data of multiple individuals

This package fits growth models to capture-recapture data of individual sizes. Growth from one time to the next is modeled as a Markov process. Covariates such as environmental variables or individual variables can affect both the intercept and autoregressive parts of the model. Models can include random effects of individual, time, and birth cohort. Time must be in discrete steps. Observations of individual sizes can be missing, but covariates cannot be missing. Individual could represent an individual organism, population, or other unit of replication.

Estimation is done in a state-space framework using maximum marginal likelihood estimation via Template Model Builder.

This package is part of a publication, M E Brooks, C Clements, J Pemberton, and A Ozgul, "Estimation of Individual Growth Trajectories When Repeated Measures Are Missing," The American Naturalist 190, no. 3 (September 2017): 377-388. https://doi.org/10.1086/692797

Installation

To install growmod, first install TMB from CRAN, then install growmod via

devtools::install_github("mebrooks/growmod/growmod", build_vignettes = TRUE)

You may need to install the devtools package, compiler tools, and other dependencies first. To install TMB, it may be necessary to install the version of Rtools that matches your version of R.

Getting started

See vignette("growmod") for an example. Before publishing results from models fit with growmod, we recommend that you check for potential bias using simulations as described in vignette("sim_growmod").

growmod's People

Contributors

mebrooks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.