show.test: Print summaries of rank tests

Description Usage Arguments Value

View source: R/Descriptive.R

Description

This function prints the summaries of the first n_tests rank tests in in LaTeX. The first row specifies the null hypothesis, the second row gives the test statistic, the third the degrees of freedom and the fourth says whether the null hypothesis passes the test at the pr level.

Usage

1
show.test(res, pr = 0.05, n_tests = K - 1)

Arguments

res

A list corresponding to the output of estimate.affinity.matrix, estimate.affinity.matrix.lowrank or estimate.affinity.matrix.unipartite.

pr

A probability indicating the significance level required to pass a rank test. Defaults to 0.05.

n_tests

An integer indicating the number of tests to show. The function prints the first n_tests rank tests. Defaults to min(nrow(Y),nrow(X))-1.

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 results from the first n_tests rank tests of the affinity matrix.


affinitymatrix documentation built on Nov. 26, 2020, 5:07 p.m.