Description Usage Arguments Value Examples
View source: R/Function_ComputePairwiseDistances_SimulateTips_Depth.R
This function returns a list with (1) matrix.PairwiseDistances_H, (2) matrix.PairwiseDistances_KL, and (3)vector.PairwiseDistances_H
1 2 3 4 5 6 7 | Function_ComputePairwiseDistances_SimulateTips_Depth(
numeric.NumberReps,
numeric.n,
numeric.birth,
string.Model,
vector.Theta
)
|
numeric.NumberReps |
Number of simulation replicates |
numeric.n |
Number of tips |
numeric.birth |
Birth Rate |
string.Model |
String for evolutonary model |
List list with (1) matrix.PairwiseDistances_H, (2) matrix.PairwiseDistances_KL, and (3)vector.PairwiseDistances_H
1 2 3 4 5 6 7 8 9 | ################################
# Simulate datasets with n = 3 #
################################
vector.Theta <- c(1, 1)
names(vector.Theta) <- c("Sig2", "alpha")
list.RESULTS_n3_b1_a1 <- Function_ComputePairwiseDistances_SimulateTips(numeric.NumberReps = 100,
numeric.n = 3, numeric.birth = 1,
string.Model = "OU",
vector.Theta = vector.Theta)$vector.PairwiseDistances_H
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.