An object of the same type as .data. The output has the following properties:
1. Columns from .data will be preserved.
2. Columns with composited scores.
Arguments
data
A data.frame or a data.frame extension (e.g. a tibble).
cols
Columns that need to be composited See `dplyr::dplyr_tidy_select` for available options.
na.rm
Ignore NA. The default is `FALSE`. If set to `TRUE`, the composite score will be `NA` if there is one or more `NA` in any of the columns.
composite_col_name
Name for the new composited columns. Default is 'composite_column'.