You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was running into an issue where I could not run the predict_race() function. What triggered the error was the line of code "colMeans(df[, grep("c_", names(df), value = TRUE)], na.rm = TRUE)" in the merge_names function. I realized that I had a column of "Associate IDs" (named assoc_id) which it was trying to include in the colMeans function. I'm not sure if there is a good solution but I think adding a note or warning to be sure your input data set does not include any columns with "c_" in their name would be helpful.
The text was updated successfully, but these errors were encountered:
Hello, I was running into an issue where I could not run the predict_race() function. What triggered the error was the line of code "colMeans(df[, grep("c_", names(df), value = TRUE)], na.rm = TRUE)" in the merge_names function. I realized that I had a column of "Associate IDs" (named assoc_id) which it was trying to include in the colMeans function. I'm not sure if there is a good solution but I think adding a note or warning to be sure your input data set does not include any columns with "c_" in their name would be helpful.
The text was updated successfully, but these errors were encountered: