Generates a set of F distributed values.
r_fdist(df1, df2, ..., n = default_n(df1, df2), .seed = NULL)
df1, df2 | vectors of degrees of freedom, strictly positive |
---|---|
... | Unused |
n | number of observations to generate. The |
.seed | One of the following:
To extract the random seed from a previously generated set of
values, use |
A numeric vector of length n
#> [1] 5.0701710 0.5572999 0.2667419 0.2316231 0.6843606r_fdist(1:10, 2)#> [1] 2.7223878 45.2050232 5.5639046 0.4528410 1.2071669 0.6649001 #> [7] 0.1900588 0.5821318 9.0677616 2.2860664r_fdist(10, 2)#> [1] 5.7205764 5.1206881 0.3449613 0.3121254 2.1341498r_fdist(10, 2, n = 10)#> [1] 0.2784492 1.8167699 4.1032534 0.8739764 1.3142012 25.8332637 #> [7] 1.5960910 0.4880101 0.1400232 6.9435143