R/R11.exchangeable.R

`R11.exchangeable` <-
function(lambda0,dimension) {
  temp <- matrix(NA,dimension,dimension)
  diag(temp) <- 1
  for (i in 2:dimension) {
    for (j in 1:(i-1)) {
      temp[i,j] <- lambda0
      temp[j,i] <- temp[i,j]
    }
  }
  return(temp)
}

Try the corcounts package in your browser

Any scripts or data that you put into this service are public.

corcounts documentation built on May 29, 2017, 6 p.m.