locf2 | R Documentation |
LOCF LOCB function
locf2(data = scd, by = "ID", var = "dostm", locb = T)
data |
data |
by |
sort variable |
var |
variable to locf |
locb |
carry backward |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.