Learn R Programming

toscca (version 0.1.0)

toscca.tStat: Get the estatistic for the permutations.

Description

Get the estatistic for the permutations.

Usage

toscca.tStat(cancor, A, B, C = 0, type = c("CC", "Wilks", "Roy"))

Value

Statistic

Arguments

cancor

Numeric. Canonical Correlation estimate.

A

An nxp matrix.

B

An nxq matrix.

C

An nxs matrix. Confounding variables.

type

Character. Choice of statistic: Canonical correlation, Wilks'statistic or Roy's statistic.