ML {BCT} | R Documentation |
Computes the logarithm of the likelihood of the observations, maximised over all models and parameters.
ML(input_data, depth)
input_data |
the sequence to be analysed. The sequence needs to be a "character" object. See the examples section of the BCT/kBCT functions on how to transform any dataset to a "character" object. |
depth |
maximum memory length. |
returns the natural logarithm of the maximum likelihood.
# Computing the maximum likelihood of the gene_s dataset
# with a maximum depth of 5:
ML(gene_s, 5)