composite_factor: Build composite factor by aggregating related factors

Description Usage Arguments Details Value

View source: R/factor-composite.R

Description

Composite factor is built by aggregating formula coming from weight of similar or correlated factors, which is determined by various methods, such as ....

Usage

1
composite_factor(ds_factors, aggregate_formula, drop = TRUE)

Arguments

ds_factors

a factors dataset.

aggregate_formula

a formula to aggregate factors into new factor, e.g. composite_factor ~ 0.33*PE + 0.33*PB + 0.33*PS.

drop

a logic to determine whether to drop original factors in the result datasets, by default TRUE.

Details

How to build composition

Value

1
       a dataset of new factor.

chriszheng2016/zstmodelr documentation built on June 13, 2021, 8:59 p.m.