Description Usage Arguments Details Value Examples
Generate a set of prior values for the parameters theta and M
1 | generate.prior(number.of.simulations,prior.theta,min.theta,max.theta,prior.M, min.M, max.M)
|
number.of.simulations |
total number of simulations |
prior.theta |
a character string indicating the prior distribution for theta. Possible values are "UNI" (uniform prior) and"LOG" (log-unifomr prior) |
min.theta |
Minimum value for theta |
max.theta |
Maximum value for theta |
prior.M |
a character string indicating the prior distribution for M. Possible values are "UNI" (uniform prior) and"LOG" (log-unifomr prior) |
min.M |
Minimum value for M |
max.M |
Maximum value for M |
Generate a set of prior values for the parameters theta and M, which will be used by the coalescent-based simulator to simulate artificial data.
a matrix of prior values.
1 2 3 4 5 | ## This is to generate a prior distribution of the model parameters.
prior <- generate.prior(number.of.simulations = 1e3,prior.theta = 'UNI',min.theta = 0.1, max.theta = 5,prior.M = 'UNI',min.M = 0.1,max.M = 5)
prior
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.