density_t | R Documentation |
Density, (cumulative) distribution function and random generation for Student distribution.
density_t(df, x)
cdf_t(df, x)
random_t(df, n)
df |
degrees of freedom. |
x |
vector of quantiles. |
n |
number of observations. |
# T with 2 degrees of freedom.
z <- density_t(2, .01 * seq(-100, 100, 1))
# T with 2 degrees of freedom. 100 random
z <- random_t(2, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.