View source: R/check_PPC_norm.R
check_PPC_norm | R Documentation |
Checks if the arguments of the PPC_norm()
function are correctly specified.
check_PPC_norm( n, theta_1, n_1, theta_2, n_2, theta_D, n_D, sigma, xi, v, plot )
n |
The sample size. |
theta_1, n_1 |
The parameters of the first normal prior. |
theta_2, n_2 |
The parameters of the second normal prior. |
theta_D, n_D |
The parameters of the design normal prior. |
sigma |
A constant used to define the variance of the priors. |
xi |
A constant used to compute the predictive probability. |
v |
A constant used to determine the optimal sample size. |
plot |
Logical. Should a plot be displayed? |
An error message.
This is an internal function.
Michele Cianfriglia michele.cianfriglia@uniroma1.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.