rprob(x, df = nrow(x) - 2)
references{
%TODO verify other sourcesAldrich, John (1995) Correlations Genuine and Spurious in Pearson and Yule. emph{Statistical Science,} bold{10(4),} 364--376.
}
author{Daniel Marcelino
ote{You can print the whole matrix using code{cor(t(x))}. }
seealso{code{rstack}. } examples{ data(nerlove63)
rprob(nerlove63)
# a stacked up table
rstack(rprob(nerlove63))
summary(lm(output ~ plabor + totcost, data = nerlove63))
# The final p-value of the OLS compares to the probabilities in the # intersection of output and plabor and output and totcost in the matrix.
} keyword{ tables } keyword{ descriptive stats }