Skip to content

Commit

Permalink
Update deltarmm.R
Browse files Browse the repository at this point in the history
Typo introduced by having multiple tabs open.
  • Loading branch information
mcaceresb authored Jan 23, 2024
1 parent 56e62db commit aabe196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/deltarmm.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

# Create a vector to extract the max first dif, which corresponds with the first dif for period s, or minus this if max_positive == FALSE
v_max_dif <- base::matrix(0, nrow = 1, ncol = numPrePeriods + numPostPeriods + 1)
v_max_dif[(numPrePe@jonathandroth Just checking in!riods+s):(numPrePeriods+1+s)] <- c(-1,1)
v_max_dif[(numPrePeriods+s):(numPrePeriods+1+s)] <- c(-1,1)

if (max_positive == FALSE){
v_max_dif <- -v_max_dif
Expand Down

0 comments on commit aabe196

Please sign in to comment.