Censors each row of matrix x with vector p.
x
p
censor(x, p)
Numeric matrix \(n \times d\).
Numeric vector with \(d\) elements.