jerellejesse / HCR-shiny

0 stars 1 forks source link

Year shifts in comparison data? #9

Closed jerellejesse closed 2 years ago

jerellejesse commented 2 years ago

Years do not seem to match up on the comparison plots? Not sure what happened yet.

mdmazur commented 2 years ago

Do you still have the mismatch in years if you use the confidence interval plots instead of the line plots?

jerellejesse commented 2 years ago

I just added the SSB confidence interval plot to the comparison tab. I still have the issue with the lines/ribbons not having the same years. A while back I thought I had fixed it but reopened the issue when I realized my fix didn't actually work. I can look into it again. I think I like these plots better for the comparison.

mdmazur commented 2 years ago

One thing that I notice is that the CI's or the medians don't end in the same spot. I think this has to do with the NA's in Table_update. It seems that there are repeats of rows but with some columns having NAs instead of the values. I think this can be done with an R function, but we don't want to remove all the rows with NAs.

jerellejesse commented 2 years ago

Thank you, I will look into this today!

mdmazur commented 2 years ago

Let me know if that solves the issue!

jerellejesse commented 2 years ago

It was a problem with the way I was merging the data from when I grabbed the last few year of median data. It looks better now except for when we reran scenario 1, I'll get that data in too.

mdmazur commented 2 years ago

Ok! Let me know if there is anything else I can do.