I am new to R. I read that ~ is used to connect a dependent variable with an independent variables. But I see ~ being used at the front of string as in the below 2 examples. What does that mean?
Thank you
write.csv(out.file, file = "~/Data/R/BacklogReporting/data/PastDue/global/global_stacked/past_due_global_stacked.csv", row.names = FALSE) ## directory to write stacked file to
map_df(
~ data_frame(x = .x),
.id = "dist"
)