# NOT RUN {
library(h2o)
h2o.init()
fr_with_nas = h2o.createFrame(categorical_fraction = 0.0, missing_fraction = 0.7, rows = 6,
cols = 2, seed = 123)
fr <- h2o.fillna(fr_with_nas, "forward", axis = 1, maxlen = 2L)
# }
Run the code above in your browser using DataCamp Workspace