do_pca: Performs a Principal Component Analysis

Description Usage Arguments Value Examples

Description

This function will perform a PCA on your data.

Usage

1
do_pca(tab, inertie_percentage = 95)

Arguments

tab

A data.table object containing the data you want to analyse.

inertie_percentage

A numeric between 0 and 100 indicating the percentage of variance you want to keep. Default value is 95.

Value

A list with the PCA results.

Examples

1
2
3
## You want to keep only 85% of variance :

res_pca <- do_pca(tab,inertie_percentage = 85)

guillaumelf/BarchenPackage documentation built on May 31, 2019, 11:50 p.m.