Calculate complete observations for a crosstab + a third variable

partial_n_matrix(data, x, y, z)

Arguments

data

data.frame or matrix

x

rownames

y

colnames

z

partial variable vector