Function that computes the observable log-likelihood of the basic LM model (internal use).
lk_obs(th, m, Bm, Cm, bv, k, S, R, yv, TT, r, mod)
vector of parameters
list of design matrices for the logits
design matrix for the logits
design matrix for the logits
number of response categories
number of states
matrix of distinct response configurations
matrix of missing response configurations
corresponding vector of frequencies
number of times occasions
number of response variabels
type of model
log-likelihood
score vector