pjsum: Calculate Number of Free Parameters for BIC Calculation

Description Usage Arguments Value Author(s) Examples

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

1

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

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

Example output

[1] 124

r.jive documentation built on Nov. 17, 2020, 9:07 a.m.