R/utils.r
fill_missing_indices.Rd
Fill NULL indices with a range from 1:dim
fill_missing_indices(index, dim)
a numeric value or NULL
size of dimension