complement_spca: Select the k first components and their complement as initial...

Description Usage Arguments Value Examples

View source: R/Initialize.R

Description

This function aims at efficiently exploring the space of likely cliques when only one missing actor is estimated. It focuses and the first two principal component axes found, and their complements.

Usage

1

Arguments

M

Gaussian proxy for the original dataset. Possibly obtained using PLNmodels.

k

Number of principal components of sparse PCA to keep.

Value

A list of 2 x k cliques.

Examples

1
2
3
4
data=generate_missing_data(n=100,p=10,r=1,type="scale-free", plot=TRUE)
PLNfit=norm_PLN(data$Y)
data$TC
complement_spca(PLNfit$MO,k=2)

Rmomal/VEMtree documentation built on Dec. 17, 2020, 5:17 p.m.