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/cpdetectoR documentation built on May 14, 2019, 1:59 a.m.