Skip to content

Commit

Permalink
fixed bug in .vb_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saudiwin committed Dec 31, 2024
1 parent 889e7d3 commit fd3bc5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/Constrain.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
val_high <- items[restrict_ind_high]
val_low <- items[restrict_ind_low]

fix_high <- sort(items,decreasing=T)[1:num_restrict_high]
fix_low <- sort(items,decreasing=F)[1:num_restrict_high]

}

names(restrict_ind_high) <- val_high
Expand Down

0 comments on commit fd3bc5f

Please sign in to comment.