prob.creator {ContRespPP}  R Documentation 
Probability Matrix Creator.
Description
prob.creator
creates a matrix of probabilities of encountering factor levels to support
construction of input for gibbs.sampler
, which uses the Bayesian Mission Mean approach to analysis.
Usage
prob.creator(
num.factors,
num.factor.levels,
likelihood.encountering,
print.result = FALSE
)
Arguments
num.factors 
Number of factors in the model (e.g., factor 
num.factor.levels 
Number of levels for each factor (e.g., factor 
likelihood.encountering 
The probability of seeing each level of each factor (e.g., if the factor levels for

print.result 
Displays final probability matrix. 
Details
The ANOVA model includes main effects and twoway interactions. Priors on model parameters are assumed to be independent of each other; beta is then defined as the set of model parameters, which is multivariate normal.
Value
Returns a matrix with two columns, one with the factor number and the other with the likelihoods of encountering.