df(x, df1, df2) pf(q, df1, df2, ncp=0) qf(p, df1, df2) rf(n, df1, df2)
Elements of q or p that are missing will cause the corresponding elements of the result to be missing.
1 - pf(stat, 4, 12) # p-value of stat rf(10, 5, 15) #sample of 10 with 5 and 15 degrees of freedom# power of a test for several noncentrality values 1 - pf(qf(.95, 4, 5), 4, 5, 0:10)