Skip to content

Commit 9c42fb6

Browse files
committed
Bugfix in Observation
1 parent a236a32 commit 9c42fb6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: argosTrack
22
Type: Package
33
Title: Fit Movement Models to Argos Data for Marine Animals
4-
Version: 1.2.0
5-
Date: 2018-07-25
4+
Version: 1.2.1
5+
Date: 2018-08-09
66
Author: Christoffer Moesgaard Albertsen
77
Maintainer: Christoffer Moesgaard Albertsen <cmoe@aqua.dtu.dk>
88
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.

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Version 1.2.1
2+
- Bug fixes: Observation class used incorrect variance model for location class A
13

24
# Version 1.2.0
35
- Added unit tests

R/Observation.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Observation <- setRefClass("Observation",
135135

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

141141

0 commit comments

Comments
 (0)