create_matrix_pca: Creates a matrix for a PCA

Description Usage Arguments Value Examples

Description

This function will transform your data into a matrix that can be used to realise a PCA.

Usage

1
create_matrix_pca(tab, population = "banque_detail")

Arguments

tab

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

population

A character which indicates which population you want to analyse. Default value is "banque_detail", other possible value is "autre".

Value

A data frame with only numeric variables and userid as row names.

Examples

1
tab <- create_matrix_pca(tab)

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