Skip to contents

This function initializes ages for individuals in a dataset using a uniform distribution.

Usage

imputeAgesInit(data, threshold, max_age)

Arguments

data

A data frame containing the data.

threshold

The minimum age value for the uniform distribution.

max_age

The maximum age value for the uniform distribution.

Value

A list containing the updated data frame and the indices of the rows where ages were initialized.