imput_change: Imput level series with change

View source: R/imput.R

imput_changeR Documentation

Imput level series with change

Description

Imput level series with change

Usage

imput_change(x, d)

Arguments

x

A numeric vector to imput. NA values are imputed.

d

A numeric vector of percentage change

Examples

t <- data.frame(a = c(NA, 2, NA, NA), b = c(0.7, 0.3, 0.1, 0.2))
dplyr::mutate(t, c = imput_change(a, b))


pttry/ficomp documentation built on June 11, 2024, 9:53 p.m.