Calculating the probability of occurance of particular values of covariates at a node given the value of target.
calc_emis(state, obsv, probs, pars)probability of occurance of particular values of covariates at a node given the value of target.
character value of state variable at a particular node.
character vector of values of covariates at that node.
emission probability distribution of the covariates in TAN structure.
integer vector denoting the parents of the nodes(other than root) in the TAN structure.