cnNodeLoglik | R Documentation |
For a given data sample, the function calculates the log-likelihood of a node with respect to a specified parent set.
cnNodeLoglik(object, node, data, perturbations=NULL)
object |
a |
node |
an |
data |
a |
perturbations |
an optional perturbation |
a numeric
value
N. Balov
cnLoglik
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) psamples <- cnSamples(object=cnet, numsamples=100) cnNodeLoglik(cnet, node=5, data=psamples)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.