79703966

Date: 2025-07-16 20:03:55
Score: 1
Natty:
Report link

Also could be:

fillInTheBlanks <- function(x) {
    for (i in 1:(length(x)-1)) {
        if(is.na(x[i+1]) == T) {
            x[i+1] <- x[i]
            }
        }
return(x)
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alan Gómez