I'm not sure if this is possible in R, but I have a dataframe original_data
with one row and columns as follows:
Error in `$<-.data.frame`(`*tmp*`, "ID", value = NA_integer_) :
replacement has 1 row, data has 0
How can I fix my code to make this work?