I bootstrapped 1000 R2 replications for two different regression models, and used them to generate confidence intervals for each model's respective R2 value.
I'm trying to figure out how to generate an error bar plot that will show me both models R2 values and the 95% CI around each of them using my bootstrapped replications.
Thanks for your reply I think its very close to the solution. The thing is I already have my all my data ready in two separate data.frames ( t : replications, t0 : R2), I also already know the confidence interval values. see below:
Model 1 CI [0.011,0.145]
Model 2 CI [0.015, 0.254]
FJCC has given you an example using made up sample data, since you haven't provided any, so you just have to replace the name of the sample dataframe i.e. DF in the code by your actual dataframe and modify the code a little bit to use your actual variable names.
If you want more specific help please provide a minimal REPRoducible EXample (reprex) illustrating your issue.