Learn R Programming

lboxcox (version 1.2)

box_cox_new: Box-Cox transform

Description

This function processes the box cox transform on varibles

Usage

box_cox_new(formula, mydata, ixx, lambda)

Value

data set after transform, contains transformed ixx

Arguments

formula

a formula of the form y ~ x + z1 + z2 where y is a binary response variable, x is a continuous predictor variable, and z1, z2, ... are covariates

mydata

dataset used in box cox transform

ixx

continuous predictor

lambda

lambda used in box cox transform