alltransf: Computes all the chosen transformations to the input data...

View source: R/alltransf.R

alltransfR Documentation

Computes all the chosen transformations to the input data frame in the chosen parameters.

Description

Computes all the chosen transformations to the input data frame in the chosen parameters.

Usage

alltransf(
  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

expression, indicating columns to select from a data frame. Defaults for all the variables in data. See subset.

transf

The chosen transformations to be applied to the data

Value

A list with all data transformed according to the arguments passed.help

Examples

library(appraiseR)
data(centro_2015)
dados <- centro_2015
vars <- colnames(dados)
alltransf(dados, select = vars)
alltransf(dados, 1:10, c("valor", "area_total"))


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