allperm: Computes all the combinations of the transformed parameters

View source: R/allperm.R

allpermR Documentation

Computes all the combinations of the transformed parameters

Description

Computes all the combinations of the transformed parameters

Usage

allperm(
  data,
  subset,
  select = colnames(data),
  transf = c("rsqrt", "log", "sqrt")
)

Arguments

data

A data frame

subset

a specification of the rows to be used: defaults to all rows. This can be any valid indexing vector (see [.data.frame) for the rows of data or if that is not supplied, a data frame made up of the variables used in formula.

select

a character vector containing selected colnames from a data frame. Defaults for all the variables in data. See subset.

transf

The transformations to be applied to each parameter

Value

A matrix with all the working combinations of supplied transformations

Examples

data(centro_2015)
dados <- centro_2015
vars <- colnames(dados)
perms <- allperm(dados, select = vars)
head(perms)

lfpdroubi/appraiseR documentation built on April 14, 2024, 10:27 p.m.