Mark a covariate for transformation with fractional polynomials

Description

Using this function, you can mark a covariate for transformation with fractional polynomials in the formula for glmBayesMfp.

Using this function, you can mark a covariate or a group of combined covariates for joint variable selection (“uncertain covariate fixed form covariate groups”) in the formula for glmBayesMfp.

Usage

1
2
3
bfp(x, max = 2, scale = TRUE, rangeVals = NULL)

uc(x)

Arguments

x

the covariate name

max

maximum degree for this FP

scale

use pre-transformation shifting and scaling to avoid numerical problems?

rangeVals

extra numbers if the shifting and scaling should consider values in this range

Value

name of the provided covariate, with the other function parameters as attached attributes

Just the name of the provided covariate

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.