diff --git a/R/Constrain.R b/R/Constrain.R index c839064..eda4d9f 100755 --- a/R/Constrain.R +++ b/R/Constrain.R @@ -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