powered by
remove_duplicated is the function to remove duplicated observations
remove_duplicated
remove_duplicated( dat = dat, obs_id = NULL, occur_time = NULL, target = NULL, note = FALSE )
A data frame with x and target.
The name of ID of observations. Default is NULL.
The name of occur time of observations.Default is NULL.
The name of target variable.
Logical.Outputs info.Default is TRUE.
A data.frame
# NOT RUN { datss = remove_duplicated(dat = UCICreditCard, target = "default.payment.next.month", obs_id = "ID", occur_time = "apply_date") # }
Run the code above in your browser using DataLab