gen.missing {changepoints} | R Documentation |
Function to generate a matrix with values 0 or 1, where 0 indicating the entry is missing
Description
Function to generate a matrix with values 0 or 1, where 0 indicating the entry is missing
Usage
gen.missing(pi_mat, symm = TRUE)
Arguments
pi_mat |
A |
symm |
A |
Value
A numeric
p x p matrix.
Author(s)
Haotian Xu
Examples
p = 5
pi_mat = matrix(0.9, p, p)
eta_mat = gen.missing(pi_mat, symm = TRUE)
[Package changepoints version 1.1.0 Index]