boxcoxfitRx: fit box cox transformed linear model

Description Usage Arguments

Description

Wrapper function to fit fine and gray competing risk model using function crr from package cmprsk

Usage

1
  boxcoxfitRx(f, data, lambda = F)

Arguments

f

formula for the model. Currently the formula only works by using the name of the column in a dataframe. It does not work by using $ or [] notation.

data

dataframe containing data

lambda

boolean indicating if you want to output the lamda used in the boxcox transformation. If so the function will return a list of length 2 with the model as the first element and a vector of length 2 as the second.


reportRx documentation built on May 2, 2019, 10:44 a.m.