lead_v: Make a lead copy of a vector

Description Usage Arguments Details Value

View source: R/helper_functions.R

Description

Make a lead copy of a vector

Usage

1
lead_v(x)

Arguments

x

Input vector of cumulative response counts

Details

Not normally called directly, but via the cp_wrapper function instead.

Value

y A lead copy of the input vector x, with the last entry repeated


ontogenerator/cpdetectorr documentation built on May 7, 2019, 8:18 a.m.