boxcoxfitRx: fit box cox transformed linear model

Description Usage Arguments

View source: R/misc.R

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.


Avery-Lisa/myReportRx documentation built on May 23, 2021, 2:30 a.m.