Computes all the combinations of the transformed parameters

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)
#> valor area_total quartos suites garagens dist_b_mar #> 1 identity identity identity identity identity identity #> 2 identity identity identity identity identity log #> 3 identity identity identity identity identity rsqrt #> 4 identity identity identity identity identity sqrt #> 5 identity identity log identity identity identity #> 6 identity identity log identity identity log