View source: R/RasperGade_hidden_state_prediction.R
predictHiddenStateWithPE | R Documentation |
Predict hidden state under the PE model given a phylogeny, some known states, and the PE model
predictHiddenStateWithPE( FMR, query.keys, laplace = FALSE, numApprox = 1, margin = 1e-06, asymptotic = 5, numCores = 1 )
FMR |
the returned data structure from function |
query.keys |
the tracking key of query tips |
laplace |
logical, if true, Laplace distribution is used for time-independent variation |
numApprox |
the number of normal distributions to approximate the Laplace distribution |
margin |
the total probability mass that the number of jumps omitted in a compound Poisson process |
asymptotic |
the threshold of expected number of jumps on a branch beyond which normal distribution is assumed |
numCores |
the number of cores to run in parallel |
a list of two elements:
$summary
is a data frame listing the means and variances of the hidden states
$error
is a list of error distributions#' @details to be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.