transform_vector_power: Simple function to transform vector by a single power

View source: R/transformations.R

transform_vector_powerR 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


mfp2 documentation built on Nov. 15, 2023, 1:06 a.m.