Learn R Programming

r.jive (version 2.4)

pjsum: 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.

Examples

Run this code
# NOT RUN {
pjsum(c(25,50), c(1,2))
# }

Run the code above in your browser using DataLab