#' Updates the mean for the Poisson distribution after a burst event
#' @param burst_mean The original mean for the burst event
#' @param num_sequences The original number of sequences
#' @param new_num_sequences The number of sequences after the burst
#' @return An updated burst mean
#' @export
update_burst_mean <- function(burst_mean, num_sequences, new_num_sequences)
{
return(burst_mean * (num_sequences/new_num_sequences))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.