R functions to compute log-likelihood of pln in R. Syntax is the same as in Python.