R/getSpeciationtimes.R

`getSpeciationtimes` <-
function(BranchingTimes)
{
	Tmax <- BranchingTimes[1];
  	SpeciationTimes <- Tmax - BranchingTimes;
  	x <- c(SpeciationTimes[1], SpeciationTimes);
  	x;
}

Try the laser package in your browser

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

laser documentation built on Jan. 15, 2017, 4:49 p.m.