.repeat_last | R Documentation |
A helper function for making the multivariable regression table
.repeat_last(x, forward = TRUE, maxgap = Inf, na.rm = FALSE)
x |
A vector |
forward |
Logical; default is |
maxgap |
Numeric; By specifying maxgap, you can choose not to bridge overly long gaps. |
na.rm |
Logical; default is |
a vector similar to x.
https://stackoverflow.com/questions/7735647/replacing-nas-with-latest-non-na-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.