Learn R Programming

randPedPCA (version 1.1.2)

randRangeFinder: Generate range matrix for SVD

Description

Generate range matrix for SVD

Usage

randRangeFinder(L, rank, depth, numVectors, cent = FALSE)

Value

The range matrix for randSVD

Arguments

L

a pedigree's L inverse matrix in sparse 'spam' format

rank

An integer, how many principal components to return

depth

integer, number of iterations for generating the range matrix

numVectors

An integer > rank, to specify the oversampling for the

cent

logical whether or not to (implicitly) 'centre' the additive relationship matrix, or more precisely, its underlying 'data matrix' L