makeDataFrameDistributionConversor: Applies redistribution to a dataframe

Description Usage Arguments Details Value Author(s) See Also

View source: R/makeDataFrameDistributionConversor.R

Description

Make distribution from columns of a data frame and passes every one to other distribution by equaling the probabilities of a quantile.

Usage

1
2
3
4
makeDataFrameDistributionConversor(dataset,
columns = colnames(dataset),
objectiveDistribution = qnorm,
...)

Arguments

dataset

dataframe with the columns of data samples to make a distribution of.

columns

character vector with the names of the columns to make a distribution of.

objectiveDistribution

Quantile function of the distribution to convert in (qnorm,qexp,qunif,...)

...

parameters to pass to objectiveDistribution.

Details

This function bassically apply makeDistributionConversor() to selected columns.

Value

Returns a function that recieve a data frame and returns a data frame with the selected column converted to columns that share the same cumulative probability in the objective distribution for every row.

Author(s)

Daniel Fischer

See Also

makeDistributionConversor documentation from this package.


danielfm123/dftools documentation built on July 17, 2021, 1 p.m.