-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added drift models and namespace corrections
- Loading branch information
Showing
20 changed files
with
577 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Package: crawl | ||
Type: Package | ||
Title: Fit Continuous-Time Correlated Random Walk Models to Animal Movement Data | ||
Version: 1.913 | ||
Date: 2015-08-20 | ||
Version: 1.920 | ||
Date: 2015-08-21 | ||
Author: Devin S. Johnson | ||
Maintainer: Devin S. Johnson <[email protected]> | ||
Imports: | ||
mvtnorm, | ||
sp, | ||
raster, | ||
Rcpp (>= 0.11.1), | ||
RcppArmadillo (>= 0.4.200.0), | ||
methods | ||
LinkingTo: Rcpp, RcppArmadillo | ||
Suggests: ggplot2 | ||
Description: The Correlated RAndom Walk Library of | ||
R functions was designed for fitting continuous-time | ||
correlated random walk (CTCRW) models with time indexed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,43 @@ | ||
# This file was generated by Rcpp::compileAttributes | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
makeT <- function(b, delta) { | ||
.Call('crawl_makeT', PACKAGE = 'crawl', b, delta) | ||
CTCRWNLL_DRIFT <- function(y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWNLL_DRIFT', PACKAGE = 'crawl', y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) | ||
} | ||
|
||
makeQ <- function(b, sig2, delta) { | ||
.Call('crawl_makeQ', PACKAGE = 'crawl', b, sig2, delta) | ||
CTCRWNLL <- function(y, Hmat, beta, sig2, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWNLL', PACKAGE = 'crawl', y, Hmat, beta, sig2, delta, noObs, active, a, P) | ||
} | ||
|
||
CTCRWNLL <- function(y, Hmat, Qmat, Tmat, noObs, active, a, P) { | ||
.Call('crawl_CTCRWNLL', PACKAGE = 'crawl', y, Hmat, Qmat, Tmat, noObs, active, a, P) | ||
CTCRWPREDICT_DRIFT <- function(y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWPREDICT_DRIFT', PACKAGE = 'crawl', y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) | ||
} | ||
|
||
CTCRWPREDICT <- function(y, Hmat, Qmat, Tmat, noObs, active, a, P) { | ||
.Call('crawl_CTCRWPREDICT', PACKAGE = 'crawl', y, Hmat, Qmat, Tmat, noObs, active, a, P) | ||
CTCRWPREDICT <- function(y, Hmat, beta, sig2, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWPREDICT', PACKAGE = 'crawl', y, Hmat, beta, sig2, delta, noObs, active, a, P) | ||
} | ||
|
||
CTCRWSAMPLE <- function(y, Hmat, Qmat, Tmat, noObs, active, a, P) { | ||
.Call('crawl_CTCRWSAMPLE', PACKAGE = 'crawl', y, Hmat, Qmat, Tmat, noObs, active, a, P) | ||
CTCRWSAMPLE_DRIFT <- function(y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWSAMPLE_DRIFT', PACKAGE = 'crawl', y, Hmat, beta, beta_drift, sig2, sig2_drift, delta, noObs, active, a, P) | ||
} | ||
|
||
CTCRWSAMPLE <- function(y, Hmat, beta, sig2, delta, noObs, active, a, P) { | ||
.Call('crawl_CTCRWSAMPLE', PACKAGE = 'crawl', y, Hmat, beta, sig2, delta, noObs, active, a, P) | ||
} | ||
|
||
makeT <- function(b, delta, active) { | ||
.Call('crawl_makeT', PACKAGE = 'crawl', b, delta, active) | ||
} | ||
|
||
makeQ <- function(b, sig2, delta, active) { | ||
.Call('crawl_makeQ', PACKAGE = 'crawl', b, sig2, delta, active) | ||
} | ||
|
||
makeT_drift <- function(b, b_drift, delta, active) { | ||
.Call('crawl_makeT_drift', PACKAGE = 'crawl', b, b_drift, delta, active) | ||
} | ||
|
||
makeQ_drift <- function(b, b_drift, sig2, sig2_drift, delta, active) { | ||
.Call('crawl_makeQ_drift', PACKAGE = 'crawl', b, b_drift, sig2, sig2_drift, delta, active) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.