Subroutine called by InitParam. The procedure controls the type of likelihood objects inserted by the users.
UTF-8
CkType(type)
Arguments
type: String; the type of the likelihood objects. If Pairwise (the default) then the marginal composite likelihood is formed by pairwise marginal likelihoods.
Returns
The function returns a numeric positive integer, or NULL if the type of likelihood is invalid.