Creates an apa matrix

apa_matrix(r_matrix, p_matrix, stars, round, remove_lead, triangle)

Arguments

r_matrix

correlation coefficient matrix

p_matrix

p-value matrix

stars

a vector of pvalue stars

round

How many digits to round to?

remove_lead

a logical. Should leading zeros be removed?

triangle

can select lower upper or NULL