head0: Set all entries of the given vector to 0 up until index 'start'
Description
Set all entries of the given vector to 0 up until index 'start'
Usage
head0(v, start = 0, value.start = 0)
Value
the vector v
with the first start
elements replaced by 0.
Arguments
- v
the vector to modify
- start
how many leading elements to zero out
- value.start
the value to insert before the start index.