https://github.com/cran/bild
Raw File
Tip revision: 6661b7703cf2271cb13756a6ff2969ef8e1d88f3 authored by M. Helena Goncalves on 03 November 2023, 14:40:02 UTC
version 1.2-1
Tip revision: 6661b77
mat2.f
      subroutine mat2(p1,p2,P)
C       creates 2x2 MC transition matrix, given probs of 1's
      implicit double precision (a-h,o-z)
      dimension P(2,2)
      P(1,1)=1-p1
      P(1,2)=p1
      P(2,1)=1-p2
      P(2,2)=p2
      return
      end

 
back to top