Skip to contents

make_pca_tbl() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make principal component analysis table. The function returns Principal component analysis (a data.frame).

Usage

make_pca_tbl(ds_tb, var_nms_chr, class_var_nm_1L_chr = "class_int")

Arguments

ds_tb

Dataset (a tibble)

var_nms_chr

Variable names (a character vector)

class_var_nm_1L_chr

Class variable name (a character vector of length one), Default: 'class_int'

Value

Principal component analysis (a data.frame)