im looking for two codes

  1. We can only guess what you are really trying to do. This needs a reproducible example (reprex) for us to give you any meaningful help. here's how to do a reprex: FAQ: What's a reproducible example (`reprex`) and how do I do one?

  2. don't put things on the same graph if they have different scale. It's confusing. Figure out another way to plot the data or normalize it so that it's all on the same scale. One way people do that is show percent change from a given point in time. Then all variables are on the same scale. For more detail, cook up an example and we can discuss.

1 Like