powered by
Update a sorted vector with a new value that preserves sort order
Algorithms
InsertSortedValue(Vec, Val, order = "left")
value to insert
'left' or 'right', insert value location
numeric vector
# NOT RUN { RemixAutoML::InsertSortedValue(vec = seq(2, 2000, 2), Val = 741, order = "left") # } # NOT RUN { # }
Run the code above in your browser using DataLab