I want to creat a vector of start and end day of each month for a non-leap year (365 days) in julian days.
Something like
start.month <- c(1, 32, 60, .....)
end.month <- c(31, 59, 90, .....)
How do I do this in R?
I can only generate the months of a year using this:
seq(as.Date("2001/1/1"), by = "month", length.out = 12)
But how do I find the first and last Julian day for each year?