Traffic and time dependent optimization

Please create a new topic. (and try to be more descriptive as your question is unclear)

How can I get this same kind of plot using R studio?

I need this