impute_nas_value: Impute missing values with a constant
Description
Replace all `NA` values in `dataset$data` by a user-defined constant.
Usage
impute_nas_value(dataset, value)
Value
A dataset object with the same structure as the input, where all
missing values in `dataset$data` have been replaced by `value`. Other
components of the dataset are preserved unchanged.
Arguments
dataset
A dataset object to modify.
value
A numeric or character value used to replace missing entries.