diff --git a/DESCRIPTION b/DESCRIPTION index ce2f54e..f129bd5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 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. diff --git a/NEWS b/NEWS index d873dd3..8b6347e 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/R/Observation.R b/R/Observation.R index a8ec64b..00bc1c6 100644 --- a/R/Observation.R +++ b/R/Observation.R @@ -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"))