quantile_split_2: Quantile function for BWQS with continuous data

View source: R/bwqs_main-revised.R

quantile_split_2R Documentation

Quantile function for BWQS with continuous data

Description

This function allows quantile splitting (empirical cumulative function) for BWQS model.

Usage

quantile_split_2(data, mix_name = mix_name, q)

Arguments

data

A data.frame where the columns have the name of the mixture components.

mix_name

A character list of components that have been considered in the mixture.

q

An integer to specify how mixture variables will be standardize, e.g. in quartiles (q = 4), deciles (q = 10), or percentiles (q = 100).

Details

For examples of this function see example of bwqs function

Value

A data.frame with specified quantiles for element of the list only.


ElenaColicino/bwqs documentation built on Feb. 26, 2023, 12:13 a.m.