Learn R Programming

TExPosition (version 2.9.0)

R2: R-squared computations

Description

A function to compute R-squared for BADA and DICA

Usage

R2(group.masses, di, ind.masses = NULL, dii)

Value

R2

An R-squared

Arguments

group.masses

a masses matrix for the groups

di

a set of squared distances of the groups

ind.masses

a masses matrix for the individuals

dii

a set of squared distances for the individuals

Author

Jenny Rieck, Derek Beaton