Skip to content

Commit

Permalink
Bugfix in Observation
Browse files Browse the repository at this point in the history
  • Loading branch information
calbertsen committed Aug 9, 2018
1 parent a236a32 commit 9c42fb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: argosTrack
Type: Package
Title: Fit Movement Models to Argos Data for Marine Animals
Version: 1.2.0
Date: 2018-07-25
Version: 1.2.1
Date: 2018-08-09
Author: Christoffer Moesgaard Albertsen
Maintainer: Christoffer Moesgaard Albertsen <[email protected]>
Description: Fits various state-space animal movement models to Argos data. Models are fitted by maximum likelihood with the Laplace approximation via 'TMB' and 'nlminb'. Functionality to visualize and simulate the models is available.
Expand Down
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Version 1.2.1
- Bug fixes: Observation class used incorrect variance model for location class A

# Version 1.2.0
- Added unit tests
Expand Down
2 changes: 1 addition & 1 deletion R/Observation.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Observation <- setRefClass("Observation",

varModelCodeIn <- ifelse(locationclass=="K",1L,
ifelse(locationclass=="S", 2L,
ifelse(locationclass=="A", 3L, 0L)))
ifelse(locationclass=="P", 3L, 0L)))
dayOfYearIn <- as.numeric(strftime(dates,"%j"))


Expand Down

0 comments on commit 9c42fb6

Please sign in to comment.