R/likelihood_sgd.R

Defines functions likelihood_sgd

Documented in likelihood_sgd

likelihood_sgd <- function(phylo, tot_time, b, d, nu, f)
{
	lambert <- Phylo2Lambert(phylo)
	lambert[1] <- tot_time
	likel <- LikelihoodSGDFromLambert(lambert, b, d, nu, f)
	return(likel[3]+likel[4])
}

Try the RPANDA package in your browser

Any scripts or data that you put into this service are public.

RPANDA documentation built on Oct. 24, 2022, 5:06 p.m.