fill: Use a given fillvalue to fill in a shorter sequence and...

Description Usage Arguments

Description

Use a given fillvalue to fill in a shorter sequence and returns a sequence of equal length to the longer sequence. Takes a subset of the fill sequence if fill sequence is longer than the difference between the longer and shorter sequences

Usage

1
fill(longer, shorter, fillvalue)

Arguments

longer

longer vector-like object

shorter

shorter vector-like object

fillvalue

sequence of value(s) to fill in shorter vector. If fillvalue is longer than the difference between 'shorter' and 'longer', values from fillvalue will be taken only until 'shorter' is the same length as 'longer'


leslie-huang/zipR documentation built on May 24, 2019, 5:05 a.m.