Description Usage Arguments Value Examples
Generate a random transition matrix for school enrollments
1 | school_transitions(nschls = 15L, diag_limit = 0.9)
|
nschls |
integer, the number of schools available, default = 15 |
diag_limit |
a numeric between 0 and 1 that sets the minimum probability that a student will stay schools |
a transition matrix nschls X nschls of transition probabilities
1 2 | out <- school_transitions(12)
out
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.