I have a question regarding the Graphic in F distribution.
This is my code:
xp = seq(0, 5, length = 100)
curve(df(x, df1=1, df2=44), from=0, to=5, main="Distribucion F")
All is ok in this code. But I would like to mark the rejection zone in color blue.
My F critical is 4.061
I tried to do it using polygon function but I could not do it well.
polygon(c(F.critico,xp,5), c(0,y,0) ,col="blue")
Could you help me with this, please?.
Many Thanks in Advance.