Description Usage Arguments Details Value Author(s) Examples
View source: R/APFAfunctions.R
The function draws a number of independent samples from the given APFA model.
1 | simulateAPFA(g, Nsim = 1000)
|
g |
is an APFA model from which the samples are drawn. |
Nsim |
is the number of simulations. |
The function simulates the data from an APFA model using the edge probabilities.
A data frame containing the simulated data.
Smitha Akinakatte and David Edwards
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.