show.affinity.matrix {affinitymatrix} | R Documentation |
Print affinity matrix
Description
This function prints the estimated affinity matrix in LaTeX style. Standard
errors are printed below the elements of the affinity matrix. Estimates that
are significant at the pr
level are printed in boldface: this format
feature can be avoided by setting pr
to 0.
Usage
show.affinity.matrix(
res,
labels_x = paste0("Trait ", 1:Kx),
labels_y = paste0("Trait ", 1:Ky),
pr = 0.05
)
Arguments
res |
A list corresponding to the output of
|
labels_x |
A vector of strings indicating the names of men's matching
variables. Defaults to |
labels_y |
A vector of strings indicating the names of women's matching
variables. Defaults to |
pr |
A probability indicating the two-tailed significance level required for an estimated parameter to be printed in boldface. Defaults to 0.05 and can be set to 0 to avoid printing any estimate in boldface. |
Value
The function returns a long string in LaTeX style that can be
processed in the standard LaTeX tabular environment in order to display
the estimates of the affinity matrix Aopt
.