Skip to content

Commit

Permalink
Test change.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneplusplus committed Mar 2, 2022
1 parent d1e50b5 commit cae4a13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-stationary-distribution.r
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
context("Stationary distribution.")

# From http://www.stat.yale.edu/~pollard/Courses/251.spring2013/Handouts/Chang-MarkovChains.pdf
# From
# http://www.stat.yale.edu/~pollard/Courses/251.spring2013/Handouts/Chang-MarkovChains.pdf.
P <- matrix(c(0, 1, 0, 1/3, 0, 2/3, 1/3, 1/3, 1/3), nrow = 3, byrow = TRUE)

expect_equal(stationary_distr(P),
Expand Down

0 comments on commit cae4a13

Please sign in to comment.