d2 = data_transform_pca(data, no_factors = 0, flag_rotate_factors = 1) Inputs no_factors: number of PCA-domain features to be kept after PCA loadings is calculated. 0 mean all. Obs: if you are rotating factors you'd typically restrain to only a few factors.