transform_vector_power {mfp2}R Documentation

Simple function to transform vector by a single power

Description

Simple function to transform vector by a single power

Usage

transform_vector_power(x, power = 1)

Arguments

x

a vector of a predictor variable.

power

single power.

Value

A vector of transformed values if power is not equal to 1


[Package mfp2 version 1.0.0 Index]