locf2: LOCF and LOCB

locf2R Documentation

LOCF and LOCB

Description

LOCF LOCB function

Usage

locf2(data = scd, by = "ID", var = "dostm", locb = T)

Arguments

data

data

by

sort variable

var

variable to locf

locb

carry backward


leonpheng/lhtool2 documentation built on April 13, 2025, 5:42 p.m.