theta.z.dim <- function(type, n) {
switch(type,
"pdIdent" = 1,
"pdDiag" = n,
"pdCompSymm" = if (n == 1) 1 else 2,
"pdSymm" = n * (n + 1) / 2
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.