pjsum {r.jive}R Documentation

Calculate Number of Free Parameters for BIC Calculation

Description

Computes the number of free parameters from the individual structure of the data. Used internally to calculate the BIC for the JIVE decomposition.

Usage

pjsum(dim, rank)

Arguments

dim

A vector containing the number of rows of each data source.

rank

A vector containing the ranks of the individual structure.

Value

Returns the number of free parameters.

Author(s)

Michael J. O'Connell and Eric F. Lock

Examples

pjsum(c(25,50), c(1,2))

[Package r.jive version 2.4 Index]