Description Usage Arguments Value Examples
View source: R/mean_diff_weighted.R
Let U denote the uniform distribution on [0,1], T the triangle distribution with center point 0.5 and full support on [0,1] and HT the half-triangle distribution with center point 0.5 and support on [0.25, 0.75]. This function returns one of these a-priori densities in dependence of its input parameter. These three a-priori distributions are deemed as helpful in experimenting with the Schuirmann constant.
1 | apriori.density(density.id)
|
density.id |
'U', 'T' or 'HT', depending on which a-priori density should be returned |
Uniform (U), triangle (T) or half triangle (HT) a-priori density function
1 2 3 4 |
rho <- apriori.density('T')
r <- seq(0, 1, length = 100)
plot(r, rho(r), type = 'l')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.