Skip to content

Commit

Permalink
Trying to fix annoying messages...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Svetunkov committed Apr 16, 2024
1 parent df82768 commit 2f54cf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/oesg.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ oesg <- function(y, modelA="MNN", modelB="MNN", persistenceA=NULL, persistenceB=
...){
# Function returns the occurrence part of the intermittent state space model, type G

# A fix for a weird case of selection, when initial disappears.
# I don't have time to fix it right now...
if(is.null(initialA) || is.null(initialB)){
initialA <- initialB <- "o"
}

# Start measuring the time of calculations
startTime <- Sys.time();

Expand Down

0 comments on commit 2f54cf1

Please sign in to comment.