I have to use Julia for a problem set for class. I've never used it before and I've only ever really used Matlab/Stata.
I want to initialize an empty date vector, so that I can store values in it in a for loop. The for loop will have a lot of if statements that will change how I input into the date vector. It'd be something like this:
using Dates
date = vector(N,1) # Need help with this line
for i in 1:N
if stuff1
date[i] = blah1
elseif stuff2
date[i] = blah2
else
date[i] = blah3
end
end